summaryrefslogtreecommitdiff
path: root/databases/mysql-client/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-client/patches/patch-af')
-rw-r--r--databases/mysql-client/patches/patch-af38
1 files changed, 38 insertions, 0 deletions
diff --git a/databases/mysql-client/patches/patch-af b/databases/mysql-client/patches/patch-af
new file mode 100644
index 00000000000..4ce9bf24133
--- /dev/null
+++ b/databases/mysql-client/patches/patch-af
@@ -0,0 +1,38 @@
+$NetBSD: patch-af,v 1.1 2001/05/02 08:22:30 jlam Exp $
+
+--- configure.orig Thu Mar 15 19:52:05 2001
++++ configure
+@@ -5004,7 +5004,10 @@
+ #define HAVE_LIBWRAP 1
+ EOF
+
+- WRAPLIBS="-L$with_libwrap/lib -lwrap"
++ if test "$with_libwrap" != "yes"; then
++ WRAPLIBS="-L${with_libwrap}/lib"
++ fi
++ WRAPLIBS="${WRAPLIBS} -lwrap"
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+@@ -9345,7 +9348,11 @@
+ # This requires readline to be in a standard place. Mosty for linux
+ # there readline may be a shared library.
+ readline_dir=""
+- readline_link="-lreadline"
++ if test -z "$readline_lib"
++ then
++ readline_lib="readline"
++ fi
++ readline_link="-l$readline_lib"
+ fi
+
+
+@@ -10466,7 +10473,7 @@
+
+ MT_INCLUDES="-I\$(top_srcdir)/mit-pthreads/include"
+
+- MT_LD_ADD="-L \$(top_srcdir)/mit-pthreads/obj/ -lpthread"
++ MT_LD_ADD="\$(top_srcdir)/mit-pthreads/obj/libpthread.a"
+
+ LIBS="$MT_LD_ADD $LIBS"
+ echo ""