aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-03-30 09:36:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-03-30 09:36:46 +0000
commit50179d15670aa6b75dfa5fa9f59ee1ea0492b31d (patch)
treecbb2bb5845d1a05660a0b1b05a9d0ced2987a82a /graphics/gd
parent5301793045be4cb5eff06ae7364ea01dddc056c5 (diff)
downloadports-50179d15670aa6b75dfa5fa9f59ee1ea0492b31d.tar.gz
ports-50179d15670aa6b75dfa5fa9f59ee1ea0492b31d.zip
Notes
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} ""