diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-04-07 15:13:06 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-04-07 15:13:06 +0000 |
commit | de41038839f19d179705193dba99c2dafc67dca3 (patch) | |
tree | 3e4df045b9265968e490f2a419cd0abeca7ccc68 /databases/db3/patches | |
parent | eb0902cbf4161c3856c8c1f5a09d82777176a359 (diff) | |
download | pkgsrc-de41038839f19d179705193dba99c2dafc67dca3.tar.gz |
When -lpthread is used, link the db3 library against it, so that programs
using -ldb3 alone don't complain about missing symbols. This fixes the
build of some programs (like nvi), as exposed in Linux.
Diffstat (limited to 'databases/db3/patches')
-rw-r--r-- | databases/db3/patches/patch-ab | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/databases/db3/patches/patch-ab b/databases/db3/patches/patch-ab index e1bb34af5b5..dbc71529a26 100644 --- a/databases/db3/patches/patch-ab +++ b/databases/db3/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.4 2001/11/30 11:58:28 martti Exp $ +$NetBSD: patch-ab,v 1.5 2004/04/07 15:13:06 jmmv Exp $ ---- ../dist/configure.orig Thu Nov 29 03:04:02 2001 -+++ ../dist/configure Thu Nov 29 03:07:21 2001 +--- ../dist/configure.orig 2001-07-13 03:34:11.000000000 +0200 ++++ ../dist/configure 2004-04-07 17:02:25.000000000 +0200 @@ -4329,6 +4329,7 @@ if test "$GXX" = "yes"; then CXXVERSION=`${MAKEFILE_CXX} --version` @@ -28,3 +28,11 @@ $NetBSD: patch-ab,v 1.4 2001/11/30 11:58:28 martti Exp $ INSTALLER="\$(LIBTOOL) --mode=install cp" # Configure for shared libraries, static libraries, or both. If both are +@@ -9165,6 +9166,7 @@ + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpthread $LIBS" ++LIBSO_LIBS="-lpthread $LIBSO_LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line 9169 "configure" + #include "confdefs.h" |