freebsd-ports/databases/mysql50-server/files/patch-configure
Pav Lucistnik 3b1e57565a - 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
2006-08-10 08:36:41 +00:00

33 lines
967 B
Text

--- 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"
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Prevent multiple expansion
@@ -25651,8 +25649,8 @@
# Some system specific hacks
#
-MAX_C_OPTIMIZE="-O3"
-MAX_CXX_OPTIMIZE="-O3"
+MAX_C_OPTIMIZE=""
+MAX_CXX_OPTIMIZE=""
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
;;