aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-03-30 17:36:46 +0800
committerdinoex <dinoex@FreeBSD.org>2008-03-30 17:36:46 +0800
commit29695acf617eada1fa621743bde6d27229a8235c (patch)
tree6f41629b39837b538f2bb10d640385a06d50ff50 /graphics/gd
parentc9bad984c6b0d07b0b31454d0fb4bfbc21b6ee14 (diff)
downloadfreebsd-ports-gnome-29695acf617eada1fa621743bde6d27229a8235c.tar.gz
freebsd-ports-gnome-29695acf617eada1fa621743bde6d27229a8235c.tar.zst
freebsd-ports-gnome-29695acf617eada1fa621743bde6d27229a8235c.zip
- clean X11BASE
Diffstat (limited to 'graphics/gd')
-rw-r--r--graphics/gd/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 16c635d6a382..faaafd6a967e 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -43,17 +43,17 @@ OPTIONS= X11 "X11 support" off \
.if defined(WITH_XPM)
USE_XORG= xpm x11
-CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM
-LDFLAGS+= -L${X11BASE}/lib -lXpm -lX11
-LDFLAGS2+= -L${X11BASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include -DHAVE_LIBXPM
+LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lX11
+LDFLAGS2+= -L${LOCALBASE}/lib
FEATURES+= GD_XPM
.endif
.if defined(WITH_FONTCONFIG)
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
-CPPFLAGS+= -I${X11BASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS} -L${X11BASE}/lib -lfontconfig
-LDFLAGS2+= ${PTHREAD_LIBS} -L${X11BASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lfontconfig
+LDFLAGS2+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
FEATURES+= GD_FONTCONFIG
.endif
@@ -70,7 +70,7 @@ USE_PERL5_BUILD= yes
SCRIPTS_ENV+= GD_FONTS="${GD_FONTS}"
.endif
-FONTBASE= ${X11BASE}/lib/X11/fonts
+FONTBASE= ${LOCALBASE}/lib/X11/fonts
pre-extract::
@${ECHO_MSG} ""