summaryrefslogtreecommitdiff
path: root/lang/php53/Makefile.ext
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/Makefile.ext')
-rw-r--r--lang/php53/Makefile.ext4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 7963d745d379..75d14fc807c6 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -237,9 +237,9 @@ CONFIGURE_ARGS+=--enable-pcntl
.endif
.if ${PHP_MODNAME} == "pcre"
-CONFIGURE_ARGS+=--with-pcre-regex=yes
+LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
-PHP_HEADER_DIRS=pcrelib
+CONFIGURE_ARGS+=--with-pcre-regex=${LOCALBASE}
.endif
.if ${PHP_MODNAME} == "pdo"