aboutsummaryrefslogtreecommitdiff
path: root/security/php5-filter
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-03-06 10:08:35 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-03-06 10:08:35 +0000
commitc99d0d73375c262760701431d7a9cd4e52beafbb (patch)
tree5a14e50c2b8f9b725257b480e595cad24063d575 /security/php5-filter
parent2a025b77c3dfcc1a245f021047481c33794fe5c6 (diff)
downloadports-c99d0d73375c262760701431d7a9cd4e52beafbb.tar.gz
ports-c99d0d73375c262760701431d7a9cd4e52beafbb.zip
Notes
Diffstat (limited to 'security/php5-filter')
-rw-r--r--security/php5-filter/files/patch-config.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/security/php5-filter/files/patch-config.m4 b/security/php5-filter/files/patch-config.m4
new file mode 100644
index 000000000000..91aebe515ded
--- /dev/null
+++ b/security/php5-filter/files/patch-config.m4
@@ -0,0 +1,25 @@
+--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100
++++ config.m4 2009-03-06 08:28:10.000000000 +0100
+@@ -19,7 +19,7 @@
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+ #include <main/php_config.h>
+-#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
++#if defined(HAVE_BUNDLED_PCRE)
+ yes
+ #endif
+ ],[
+@@ -27,11 +27,12 @@
+ ],[
+ AC_EGREP_CPP(yes,[
+ #include <main/php_config.h>
+-#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
++#if defined(HAVE_PCRE)
+ yes
+ #endif
+ ],[
+ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])