[Midnightbsd-cvs] mports: mports/security: add php5-filter

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 14 11:50:04 EDT 2009


Log Message:
-----------
add php5-filter

Modified Files:
--------------
    mports/security:
        Makefile (r1.87 -> r1.88)

Added Files:
-----------
    mports/security/php5-filter:
        Makefile (r1.1)
    mports/security/php5-filter/files:
        patch-config.m4 (r1.1)

-------------- next part --------------
--- /dev/null
+++ security/php5-filter/Makefile
@@ -0,0 +1,9 @@
+# $MidnightBSD: mports/security/php5-filter/Makefile,v 1.1 2009/03/14 15:50:01 laffer1 Exp $
+
+CATEGORIES=	security
+
+MASTERDIR=	${.CURDIR}/../../lang/php5
+
+PKGNAMESUFFIX=	-filter
+
+.include "${MASTERDIR}/Makefile"
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.87
retrieving revision 1.88
diff -L security/Makefile -L security/Makefile -u -r1.87 -r1.88
--- security/Makefile
+++ security/Makefile
@@ -69,9 +69,9 @@
     SUBDIR += p5-Net-SSLeay
     SUBDIR += pam_ldap
     SUBDIR += pecl-crack
-    SUBDIR += pecl-filter
     SUBDIR += pecl-gnupg
     SUBDIR += pecl-hash
+    SUBDIR += php5-filter
     SUBDIR += php5-mcrypt
     SUBDIR += php5-mhash
     SUBDIR += php5-openssl
--- /dev/null
+++ 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
+       ])


More information about the Midnightbsd-cvs mailing list