summaryrefslogtreecommitdiff
path: root/www/mod_php5/files
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-03-10 13:06:31 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-03-10 13:06:31 +0000
commitfded15910a9ee3c46656b1477f0d1740d3dd551e (patch)
treee4db6856233ee0406c394a7d4687eabb06dc851e /www/mod_php5/files
parentFix previous commit: LOCALBASE --> X11BASE. (diff)
Fix detection of libmcrypt (hopefully).
PR: ports/25353 Submitted by: Juraj Bednar <juraj@bednar.sk>
Notes
Notes: svn path=/head/; revision=39420
Diffstat (limited to 'www/mod_php5/files')
-rw-r--r--www/mod_php5/files/patch-aq29
1 files changed, 29 insertions, 0 deletions
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