summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 3c24d96a3640..18199d79dc12 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -304,7 +304,7 @@ CONFIGURE_ARGS+=--with-gd \
--with-png-dir=${LOCALBASE}
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries
-CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
+CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
.endif
.if defined(WITH_LZW)
CONFIGURE_ARGS+=--enable-gd-lzw-gif