summaryrefslogtreecommitdiff
path: root/graphics/gd1/files/Makefile.lib
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-08-18 16:15:10 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-08-18 16:15:10 +0000
commitefb928619b234d49b326a13f59a6e2ee354bf902 (patch)
treec62bd82140831e81442480b9cefc699e0c08f08d /graphics/gd1/files/Makefile.lib
parentUpdate to 5.0.8. As reported by Paul Szabo in (diff)
o Main modification
graphics/gd(based on 1.8.4) -> graphics/gd1 graphics/gd2(based on 2.0.15) -> graphics/gd graphics/p5-GD(based on 1.41) -> graphics/p5-GD1 graphics/p5-GD2(based on 2.07) -> graphics/p5-GD japanese/gd -> japanese/gd1 japanese/gd2 -> japanese/gd o Include some feature WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o Fix build error [1] PR: ports/54540 Submitted by: Ports Fury Approved by: maintainer (blanket) Reported by: bento via kris [1]
Notes
Notes: svn path=/head/; revision=87214
Diffstat (limited to 'graphics/gd1/files/Makefile.lib')
-rw-r--r--graphics/gd1/files/Makefile.lib10
1 files changed, 3 insertions, 7 deletions
diff --git a/graphics/gd1/files/Makefile.lib b/graphics/gd1/files/Makefile.lib
index 8306444eb839..78c024d321f3 100644
--- a/graphics/gd1/files/Makefile.lib
+++ b/graphics/gd1/files/Makefile.lib
@@ -22,13 +22,9 @@ SRCS= gd.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_io_file.c gd_ss.c \
CFLAGS+= -I${.CURDIR} -I${LOCALBASE}/include/freetype2/freetype \
-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include \
- -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBZ
-LDADD= -L${LOCALBASE}/lib -lfreetype -ljpeg -lpng -lz
-
-.ifdef WITH_X11
-CFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM
-LDADD+= -L${X11BASE}/lib -lXpm -lX11
-.endif
+ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBZ \
+ ${CPPFLAGS}
+LDADD= -L${LOCALBASE}/lib -lfreetype -ljpeg -lpng -lz ${LDFLAGS}
beforeinstall:
mkdir -p ${INCSDIR}