openbsd-ports/x11/gnome/libgda/patches/patch-configure
2013-03-16 21:56:37 +00:00

21 lines
883 B
Plaintext

$OpenBSD: patch-configure,v 1.27 2013/03/16 21:56:37 ajacoutot Exp $
Our libdb does not follow upstream naming (libdb.so.XX versus
libdb-5.0.so).
--- configure.orig Fri Jan 25 08:57:56 2013
+++ configure Sat Mar 16 21:15:00 2013
@@ -21803,9 +21803,9 @@ $as_echo_n "checking for Berkeley DB files in $d... "
db_libfile="$d/$bdb_loclibdir/libdb$sversion$bdb_libext"
try_headers="db.h db$version/db.h db$sversion/db.h"
else
- db_libfilename="libdb-$version$bdb_libext"
- db_lib="-ldb-$version"
- db_libfile="$d/$bdb_loclibdir/libdb-$version$bdb_libext"
+ db_libfilename="libdb$bdb_libext.${LIBdb_VERSION}"
+ db_lib="-ldb"
+ db_libfile="$d/$bdb_loclibdir/libdb$bdb_libext.${LIBdb_VERSION}"
try_headers="db.h db$version/db.h db$sversion/db.h"
fi
fi