mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
PR: ports/183001 [1] PR: ports/182565 [2] Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua> [1] Reported by: Vincent Hoffman-Kazlauskas <vince@unsane.co.uk> [2]
14 lines
819 B
Bash
14 lines
819 B
Bash
--- scripts/mysql_config.sh.orig 2013-09-20 01:34:23.000000000 +0300
|
|
+++ scripts/mysql_config.sh 2013-10-15 21:23:34.000000000 +0300
|
|
@@ -108,8 +108,11 @@
|
|
# We intentionally add a space to the beginning and end of lib strings, simplifies replace later
|
|
libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
|
|
libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
|
|
+libs="$libs -L%%LOCALBASE%%/lib "
|
|
libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
|
|
+libs_r="$libs_r -L%%LOCALBASE%%/lib "
|
|
embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
|
|
+embedded_libs="$embedded_libs -L%%LOCALBASE%%/lib "
|
|
|
|
if [ -r "$pkglibdir/libmygcc.a" ]; then
|
|
# When linking against the static library with a different version of GCC
|