aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd2
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2001-02-25 00:34:37 +0000
committerBill Fumerola <billf@FreeBSD.org>2001-02-25 00:34:37 +0000
commitcef70df629d345640b9bdc3feff274380574b9c8 (patch)
treed05047b4bbc562bdbbfb4b9228b82e105d3cf682 /graphics/gd2
parent25179133d82956ed801e7b046aaad0adb4f6f89e (diff)
downloadports-cef70df629d345640b9bdc3feff274380574b9c8.tar.gz
ports-cef70df629d345640b9bdc3feff274380574b9c8.zip
Notes
Diffstat (limited to 'graphics/gd2')
-rw-r--r--graphics/gd2/Makefile1
-rw-r--r--graphics/gd2/distinfo2
-rw-r--r--graphics/gd2/files/patch-ac16
3 files changed, 10 insertions, 9 deletions
diff --git a/graphics/gd2/Makefile b/graphics/gd2/Makefile
index d811d506e2a9..77dbced78a54 100644
--- a/graphics/gd2/Makefile
+++ b/graphics/gd2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gd
PORTVERSION= 1.8.4
+PORTREVISION= 1
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
diff --git a/graphics/gd2/distinfo b/graphics/gd2/distinfo
index fafb51839248..0a9ba962c815 100644
--- a/graphics/gd2/distinfo
+++ b/graphics/gd2/distinfo
@@ -1 +1 @@
-MD5 (gd-1.8.4.tar.gz) = d5ab4746c220949d300daeafc00fcdcd
+MD5 (gd-1.8.4.tar.gz) = 2aef76e79f206f9798233f025f5dd28d
diff --git a/graphics/gd2/files/patch-ac b/graphics/gd2/files/patch-ac
index 645f72cfa48b..89e342477f1b 100644
--- a/graphics/gd2/files/patch-ac
+++ b/graphics/gd2/files/patch-ac
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Feb 2 05:23:56 2001
-+++ Makefile Mon Feb 12 18:44:56 2001
+--- Makefile.orig Thu Feb 22 09:03:43 2001
++++ Makefile Sat Feb 24 16:25:23 2001
@@ -3,11 +3,11 @@
#If you do not have gcc, change the setting for COMPILER, but you must
#use an ANSI standard C compiler (NOT the old SunOS 4.1.3 cc
@@ -18,11 +18,11 @@
#If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
--CFLAGS=-O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG \
-- -DHAVE_LIBFREETYPE -DHAVE_LIBTTF
-+CFLAGS+=-DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
+-#CFLAGS=-O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG \
+-# -DHAVE_LIBFREETYPE -DHAVE_LIBTTF
++CFLAGS=-O -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
+.if defined(WITH_X11)
-+CFLAGS+=-DHAVE_LIBXPM
++CFLAGS+=-DHAVE_LIBXPM
+.endif
+
+.if defined(JISX0208)
@@ -35,14 +35,14 @@
#Some systems are very picky about link order. They don't all agree
#on the right order, either.
--#LIBS=-lgd -lpng -lz
+-LIBS=-lgd -lpng -lz -lm
+LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm
#If you do have FreeType, JPEG and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.
--LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm -lttf
+-#LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm -lttf
+.if defined(WITH_X11)
+LIBS+=-lXpm -lX11
+.endif