1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/apr1/files/patch-apr-util_build_dbm.m4
Craig Rodrigues b7f8cd48db Upgrade to apr-1.2.7
PR:		ports/98085
Submitted by:	skv
2006-05-29 13:12:35 +00:00

22 lines
582 B
Plaintext

--- apr-util-1.2.7/build/dbm.m4-orig Wed Dec 7 09:02:23 2005
+++ apr-util-1.2.7/build/dbm.m4 Wed Dec 23 09:07:34 2005
@@ -588,6 +588,8 @@
elif test "$withval" = "no"; then
apu_have_gdbm=0
else
+ saved_cppflags="$CPPFLAGS"
+ saved_libs="$LIBS"
CPPFLAGS="-I$withval/include"
LIBS="-L$withval/lib "
@@ -597,6 +599,9 @@
APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
APR_ADDTO(APRUTIL_INCLUDES, [-I$withval/include])
fi
+
+ CPPFLAGS="$saved_cppflags"
+ LIBS="$saved_libs"
fi
], [
apu_have_gdbm=0