diff options
-rw-r--r-- | www/mod_php4/files/patch-aq | 29 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 4 | ||||
-rw-r--r-- | www/mod_php5/files/patch-aq | 29 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 4 |
4 files changed, 60 insertions, 6 deletions
diff --git a/www/mod_php4/files/patch-aq b/www/mod_php4/files/patch-aq index 9de9789e82b9..8629edc8032d 100644 --- a/www/mod_php4/files/patch-aq +++ b/www/mod_php4/files/patch-aq @@ -1,5 +1,34 @@ --- configure.orig Tue Aug 29 20:37:36 2000 +++ configure Sat Sep 2 10:02:53 2000 +@@ -23088,12 +23088,7 @@ + + LIBS=$old_LIBS + LDFLAGS="$old_LDFLAGS" +- if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then +- cat >> confdefs.h <<\EOF +-#define HAVE_LIBMCRYPT22 1 +-EOF +- +- elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then ++ if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then + + case "ltdl" in + c|c_r|pthread*) ;; +@@ -23106,8 +23101,13 @@ + ;; + esac + +- cat >> confdefs.h <<\EOF ++ cat >> confdefs.h <<\EOF + #define HAVE_LIBMCRYPT24 1 ++EOF ++ ++ elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then ++ cat >> confdefs.h <<\EOF ++#define HAVE_LIBMCRYPT22 1 + EOF + + else @@ -37824,18 +37824,6 @@ fi diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 9547a2c94239..490b1e1c314f 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -74,9 +74,6 @@ while [ "$1" ]; do ZLIB=1 ;; \"mcrypt\") - echo "mcrypt support doesn't compile at the moment. Ignoring." > /dev/stderr - ;; - \"nothing\") echo "LIB_DEPENDS+= mcrypt.5:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${PREFIX}" ;; @@ -146,6 +143,7 @@ while [ "$1" ]; do echo "SNMP is DISABLED for now. Ignoring." > /dev/stderr ;; \"nothing\") + echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp" echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack" ;; diff --git a/www/mod_php5/files/patch-aq b/www/mod_php5/files/patch-aq index 9de9789e82b9..8629edc8032d 100644 --- a/www/mod_php5/files/patch-aq +++ b/www/mod_php5/files/patch-aq @@ -1,5 +1,34 @@ --- configure.orig Tue Aug 29 20:37:36 2000 +++ configure Sat Sep 2 10:02:53 2000 +@@ -23088,12 +23088,7 @@ + + LIBS=$old_LIBS + LDFLAGS="$old_LDFLAGS" +- if test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then +- cat >> confdefs.h <<\EOF +-#define HAVE_LIBMCRYPT22 1 +-EOF +- +- elif test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then ++ if test "$ac_cv_lib_mcrypt_mcrypt_module_open" = "yes"; then + + case "ltdl" in + c|c_r|pthread*) ;; +@@ -23106,8 +23101,13 @@ + ;; + esac + +- cat >> confdefs.h <<\EOF ++ cat >> confdefs.h <<\EOF + #define HAVE_LIBMCRYPT24 1 ++EOF ++ ++ elif test "$ac_cv_lib_mcrypt_init_mcrypt" = "yes"; then ++ cat >> confdefs.h <<\EOF ++#define HAVE_LIBMCRYPT22 1 + EOF + + else @@ -37824,18 +37824,6 @@ fi diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 9547a2c94239..490b1e1c314f 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -74,9 +74,6 @@ while [ "$1" ]; do ZLIB=1 ;; \"mcrypt\") - echo "mcrypt support doesn't compile at the moment. Ignoring." > /dev/stderr - ;; - \"nothing\") echo "LIB_DEPENDS+= mcrypt.5:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${PREFIX}" ;; @@ -146,6 +143,7 @@ while [ "$1" ]; do echo "SNMP is DISABLED for now. Ignoring." > /dev/stderr ;; \"nothing\") + echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp" echo "CONFIGURE_ARGS+=--with-snmp=\${PREFIX} --enable-ucd-snmp-hack" ;; |