summaryrefslogtreecommitdiff
path: root/devel/apr/files
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-04-06 10:37:17 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-04-06 10:37:17 +0000
commit7d2ec338bd47e706f74ff614e2f3b48f400bfed7 (patch)
tree5d41c604eceddf8b94890040f57a8a0a4ee32801 /devel/apr/files
parent- Update to 1.3.3 (diff)
- utilize USE_BDB
PR: 89023 Submitted by: swhetzel at gmail.com Approved by: maintainer
Notes
Notes: svn path=/head/; revision=158942
Diffstat (limited to 'devel/apr/files')
-rw-r--r--devel/apr/files/patch-apr-util_build_dbm.m421
-rw-r--r--devel/apr/files/patch-apr-util_configure21
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