aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-08-10 16:36:41 +0800
committerpav <pav@FreeBSD.org>2006-08-10 16:36:41 +0800
commitcfe484fe8cc054c01e71338490fc11791ce7674d (patch)
tree8344ec23eb78ab91b3925d5dd928b6dcfabbd6e3 /databases
parent39e557162dcb8a76bda64239ada0d428aaafc850 (diff)
downloadfreebsd-ports-gnome-cfe484fe8cc054c01e71338490fc11791ce7674d.tar.gz
freebsd-ports-gnome-cfe484fe8cc054c01e71338490fc11791ce7674d.tar.zst
freebsd-ports-gnome-cfe484fe8cc054c01e71338490fc11791ce7674d.zip
- Fix build with OpenSSL
PR: ports/101647 Submitted by: Dan Lukes <dan@obluda.cz>, Sergey Mokryshev <mokr@mokr.net> Obtained from: http://bugs.mysql.com/bug.php?id=21327 Approved by: ale's vacation
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql50-server/files/patch-configure31
1 files changed, 21 insertions, 10 deletions
diff --git a/databases/mysql50-server/files/patch-configure b/databases/mysql50-server/files/patch-configure
index fbbdc8efd9d1..1f0615bc62ff 100644
--- a/databases/mysql50-server/files/patch-configure
+++ b/databases/mysql50-server/files/patch-configure
@@ -1,15 +1,15 @@
---- configure.orig Sun Dec 21 19:03:09 2003
-+++ configure Wed Dec 24 10:40:53 2003
-@@ -8128,8 +8128,6 @@
+--- configure.orig Thu Jul 27 20:53:44 2006
++++ configure Thu Aug 10 10:16:48 2006
+@@ -20093,8 +20093,6 @@
# This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"; $ac_aux_dir/ltconfig $LIBTOOL_DEPS;
-
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
+
# Prevent multiple expansion
-
-@@ -12678,8 +12644,8 @@
+
+@@ -25651,8 +25649,8 @@
# Some system specific hacks
#
@@ -18,5 +18,16 @@
+MAX_C_OPTIMIZE=""
+MAX_CXX_OPTIMIZE=""
- case $SYSTEM_TYPE in
- *solaris2.7*)
+ ndb_cxxflags_fix=
+ case $SYSTEM_TYPE-$MACHINE_TYPE-$ac_cv_c_compiler_gnu in
+@@ -39038,8 +39036,8 @@
+ OPENSSL_INCLUDE=-I$incs
+ fi
+ # Test for libssl using all known library file endings
+- if test -f $d/libssl.a || test -f $d/libssl.so || \
+- test -f $d/libssl.sl || test -f $d/libssl.dylib ; then
++ if test -f $libs/libssl.a || test -f $libs/libssl.so || \
++ test -f $libs/libssl.sl || test -f $libs/libssl.dylib ; then
+ OPENSSL_LIB=$libs
+ fi
+ ;;