1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/cfengine/files/patch-configure
Pav Lucistnik 74e93340df - Patch to fix berkeley db detection in configure script. Fixes compilation
when multiple db ports are installed
- Patch to explicitly link with included libpub.a, instead of one in /usr/local
- Patch to never rebuild documentation, the full copy is included

PR:		ports/106790
Submitted by:	Nick Barkas <snb@threerings.net>
Approved by:	maintainer timeout (sergei; 1 month)
2007-01-24 22:47:36 +00:00

21 lines
583 B
Plaintext

--- configure.orig Wed Sep 20 10:27:07 2006
+++ configure Thu Dec 14 18:00:21 2006
@@ -8539,7 +8539,7 @@
done
BERKELEY_DB_LIB="-ldb"
- for v in db4.4 db44 db41 db40 db4 db33 db32 db3 db; do
+ for v in db-4.4 db4.4 db44 db-4.3 db-4.2 db41 db40 db4 db33 db32 db3 db; do
if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then
BERKELEY_DB_LIB="-l$v"
break
@@ -15998,7 +15998,7 @@
-LIBS="-L../pub -lpub $LIBS"
+LIBS="../pub/libpub.a $LIBS"
echo "$as_me:$LINENO: checking Checking for GCC Specific compile flags" >&5