summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2007-03-13 07:10:15 +0000
committerale <ale@FreeBSD.org>2007-03-13 07:10:15 +0000
commitb099aea38548ca791d25beb2b5ccf108d5b5987c (patch)
tree566f2a2bfcdc1f162ab2ac5639cec36396afb5c1
parent3b3b9a099114c03e8e667ae9e24f7541b80d8972 (diff)
downloadFreeBSD-ports-b099aea38548ca791d25beb2b5ccf108d5b5987c.zip
FreeBSD-ports-b099aea38548ca791d25beb2b5ccf108d5b5987c.tar.gz
Revert previous commit: for an unknown reason, the pcre module linked
with external pcre library doesn't work inside apache. PHP devs are not interested in fixing this problem and insist to use the bundled (broken too) version.
-rw-r--r--lang/php5/Makefile.ext4
-rw-r--r--lang/php53/Makefile.ext4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index 75d14fc..7963d74 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -237,9 +237,9 @@ CONFIGURE_ARGS+=--enable-pcntl
.endif
.if ${PHP_MODNAME} == "pcre"
-LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
+CONFIGURE_ARGS+=--with-pcre-regex=yes
-CONFIGURE_ARGS+=--with-pcre-regex=${LOCALBASE}
+PHP_HEADER_DIRS=pcrelib
.endif
.if ${PHP_MODNAME} == "pdo"
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 75d14fc..7963d74 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -237,9 +237,9 @@ CONFIGURE_ARGS+=--enable-pcntl
.endif
.if ${PHP_MODNAME} == "pcre"
-LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
+CONFIGURE_ARGS+=--with-pcre-regex=yes
-CONFIGURE_ARGS+=--with-pcre-regex=${LOCALBASE}
+PHP_HEADER_DIRS=pcrelib
.endif
.if ${PHP_MODNAME} == "pdo"
OpenPOWER on IntegriCloud