aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd/files
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/gd/files
parent25179133d82956ed801e7b046aaad0adb4f6f89e (diff)
downloadports-cef70df629d345640b9bdc3feff274380574b9c8.tar.gz
ports-cef70df629d345640b9bdc3feff274380574b9c8.zip
Notes
Diffstat (limited to 'graphics/gd/files')
-rw-r--r--graphics/gd/files/patch-ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/gd/files/patch-ac b/graphics/gd/files/patch-ac
index 645f72cfa48b..89e342477f1b 100644
--- a/graphics/gd/files/patch-ac
+++ b/graphics/gd/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