diff options
Diffstat (limited to 'devel/apr/files')
-rw-r--r-- | devel/apr/files/patch-apr-util_build_dbm.m4 | 21 | ||||
-rw-r--r-- | devel/apr/files/patch-apr-util_configure | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/devel/apr/files/patch-apr-util_build_dbm.m4 b/devel/apr/files/patch-apr-util_build_dbm.m4 new file mode 100644 index 000000000000..cb7dd1128ba4 --- /dev/null +++ b/devel/apr/files/patch-apr-util_build_dbm.m4 @@ -0,0 +1,21 @@ +--- apr-util-1.2.2/build/dbm.m4-orig Wed Dec 7 09:02:23 2005 ++++ apr-util-1.2.2/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 diff --git a/devel/apr/files/patch-apr-util_configure b/devel/apr/files/patch-apr-util_configure new file mode 100644 index 000000000000..c1571922898b --- /dev/null +++ b/devel/apr/files/patch-apr-util_configure @@ -0,0 +1,21 @@ +--- apr-util-1.2.2/configure.orig Mon Sep 26 18:28:49 2005 ++++ apr-util-1.2.2/configure Fri Dec 23 15:06:09 2005 +@@ -13806,6 +13806,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 " + +@@ -14064,6 +14066,9 @@ + fi + + fi ++ ++ CPPFLAGS="$saved_cppflags" ++ LIBS="$saved_libs" + fi + + else |