summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 09:48:32 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 09:48:32 +0000
commit6e8aca51ba581de666f91c550e7f50cc5b420322 (patch)
tree38f365954d8289a08a6df0b18b47b822ad92139f /dev-libs/apr-util
parentFix --as-needed issue (#284924) and quote destination directories. (diff)
downloadhistorical-6e8aca51ba581de666f91c550e7f50cc5b420322.tar.gz
historical-6e8aca51ba581de666f91c550e7f50cc5b420322.tar.bz2
historical-6e8aca51ba581de666f91c550e7f50cc5b420322.zip
Fix building with sys-libs/db:4.8 (bug #285522).
Package-Manager: portage-14288-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r--dev-libs/apr-util/ChangeLog7
-rw-r--r--dev-libs/apr-util/Manifest5
-rw-r--r--dev-libs/apr-util/apr-util-1.3.9.ebuild7
-rw-r--r--dev-libs/apr-util/files/apr-util-1.3.9-support_berkeley_db-4.8.patch129
4 files changed, 143 insertions, 5 deletions
diff --git a/dev-libs/apr-util/ChangeLog b/dev-libs/apr-util/ChangeLog
index 1a2e992f8e4f..ad9e6b976fb3 100644
--- a/dev-libs/apr-util/ChangeLog
+++ b/dev-libs/apr-util/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/apr-util
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.143 2009/09/20 08:54:12 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.144 2009/09/20 09:48:31 arfrever Exp $
+
+ 20 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ apr-util-1.3.9.ebuild,
+ +files/apr-util-1.3.9-support_berkeley_db-4.8.patch:
+ Fix building with sys-libs/db:4.8 (bug #285522).
20 Sep 2009; Benedikt Böhm <hollow@gentoo.org> -apr-util-1.3.7.ebuild,
-apr-util-1.3.8.ebuild:
diff --git a/dev-libs/apr-util/Manifest b/dev-libs/apr-util/Manifest
index d9b3a4dcdd9d..493202482833 100644
--- a/dev-libs/apr-util/Manifest
+++ b/dev-libs/apr-util/Manifest
@@ -1,4 +1,5 @@
+AUX apr-util-1.3.9-support_berkeley_db-4.8.patch 4443 RMD160 f378ba707441854a0b19f07a396f7a7be041e715 SHA1 ce3cf0caa6c9a9b6cddb9b0b49366dc132eab398 SHA256 11a8163c75a279d1aa93f9bd0142a836add228a5f1232a8f85e1a128363ae8aa
DIST apr-util-1.3.9.tar.gz 790952 RMD160 f6180ba186e8ed73831b1da78de7ec57fc1cb162 SHA1 fd2a76352353e6bc2f7cc7da80e2ab3842795199 SHA256 20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9
-EBUILD apr-util-1.3.9.ebuild 2265 RMD160 861226e0e242fbf25b5294f962016625951def69 SHA1 f08962dc0b56a1587bb2566c42ee05c15793ce6d SHA256 9888095f7eb4acd5c90a10a46a8e7da6936d6965610e72c54b6297c654f8742d
-MISC ChangeLog 18111 RMD160 f9d66048580e2b509f7a0a5e8d58d3ee197ca409 SHA1 df94c4e4f622383a656ca8acb2a8ce074db47bae SHA256 f2c05a1ac3b3f61e6419f7a8f82e85a49978888f7ee287449e800b5cf0accfb6
+EBUILD apr-util-1.3.9.ebuild 2355 RMD160 1d1965e7f00ecf93d4549183a8ba23d857ea7bda SHA1 36739bb34e7cd3b174aa5129d70f3b37a38a0d9e SHA256 c93c3e1e738d7b261c3b2ce2f6a059f3e8b2956dd4cd02e871ce40a020d62271
+MISC ChangeLog 18318 RMD160 3035b32aa57133661adb3b9c6daaf30ca54f1c6b SHA1 04e0f45fdb886afd3c257306e3d1f1b83fa1c423 SHA256 919b8eca7654cf0968164bc821cab1e603b779cd4b98bea1eb393934bcd1d776
MISC metadata.xml 229 RMD160 bb816bd761846ad578f8c1521a1f1ec6297410f4 SHA1 92fdbcb6a85ece96506733ad67a5e4e74a58a529 SHA256 8e1aafc5385805d45759406a60df79f0ce88aa1df1a58d44b596405d64c9226d
diff --git a/dev-libs/apr-util/apr-util-1.3.9.ebuild b/dev-libs/apr-util/apr-util-1.3.9.ebuild
index 6bac699794b6..9d0491b28896 100644
--- a/dev-libs/apr-util/apr-util-1.3.9.ebuild
+++ b/dev-libs/apr-util/apr-util-1.3.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.10 2009/08/24 14:54:20 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.11 2009/09/20 09:48:31 arfrever Exp $
EAPI="2"
@@ -8,7 +8,7 @@ EAPI="2"
#APR_PV=${PV}
APR_PV="1.3.8"
-inherit db-use libtool multilib
+inherit autotools db-use eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
@@ -35,6 +35,9 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
+ epatch "${FILESDIR}/${P}-support_berkeley_db-4.8.patch"
+ eautoreconf
+
elibtoolize
}
diff --git a/dev-libs/apr-util/files/apr-util-1.3.9-support_berkeley_db-4.8.patch b/dev-libs/apr-util/files/apr-util-1.3.9-support_berkeley_db-4.8.patch
new file mode 100644
index 000000000000..31c4c032f32f
--- /dev/null
+++ b/dev-libs/apr-util/files/apr-util-1.3.9-support_berkeley_db-4.8.patch
@@ -0,0 +1,129 @@
+--- build/dbm.m4
++++ build/dbm.m4
+@@ -522,6 +522,25 @@
+ apu_db_version=4
+ fi
+ ])
++dnl
++dnl APU_CHECK_DB48: is DB4.8 present?
++dnl
++dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
++dnl
++AC_DEFUN([APU_CHECK_DB48], [
++ places=$1
++ if test -z "$places"; then
++ places="std /usr/local/BerkeleyDB.4.8 /boot/home/config"
++ fi
++ APU_CHECK_BERKELEY_DB("4", "8", "-1",
++ "$places",
++ "db48/db.h db4/db.h db.h",
++ "db-4.8 db4-4.8 db48 db4 db"
++ )
++ if test "$apu_have_db" = "1"; then
++ apu_db_version=4
++ fi
++])
+
+ AC_DEFUN([APU_CHECK_DB], [
+ requested=$1
+@@ -606,6 +625,12 @@
+ AC_MSG_ERROR(Berkeley db4 not found)
+ fi
+ ;;
++ db48)
++ APU_CHECK_DB48("$check_places")
++ if test "$apu_db_version" != "4"; then
++ AC_MSG_ERROR(Berkeley db4 not found)
++ fi
++ ;;
+ default)
+ APU_CHECK_DB_ALL("$check_places")
+ ;;
+@@ -613,34 +638,37 @@
+ ])
+
+ dnl
+-dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.7 to 1.
++dnl APU_CHECK_DB_ALL: Try all Berkeley DB versions, from 4.8 to 1.
+ dnl
+ AC_DEFUN([APU_CHECK_DB_ALL], [
+ all_places=$1
+
+- APU_CHECK_DB47("$all_places")
++ APU_CHECK_DB48("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB46("$all_places")
++ APU_CHECK_DB47("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB45("$all_places")
++ APU_CHECK_DB46("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB44("$all_places")
++ APU_CHECK_DB45("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB43("$all_places")
++ APU_CHECK_DB44("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB42("$all_places")
++ APU_CHECK_DB43("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB41("$all_places")
++ APU_CHECK_DB42("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB4("$all_places")
++ APU_CHECK_DB41("$all_places")
+ if test "$apu_db_version" != "4"; then
+- APU_CHECK_DB3("$all_places")
+- if test "$apu_db_version" != "3"; then
+- APU_CHECK_DB2("$all_places")
+- if test "$apu_db_version" != "2"; then
+- APU_CHECK_DB1("$all_places")
+- if test "$apu_db_version" != "1"; then
+- APU_CHECK_DB185("$all_places")
++ APU_CHECK_DB4("$all_places")
++ if test "$apu_db_version" != "4"; then
++ APU_CHECK_DB3("$all_places")
++ if test "$apu_db_version" != "3"; then
++ APU_CHECK_DB2("$all_places")
++ if test "$apu_db_version" != "2"; then
++ APU_CHECK_DB1("$all_places")
++ if test "$apu_db_version" != "1"; then
++ APU_CHECK_DB185("$all_places")
++ fi
+ fi
+ fi
+ fi
+@@ -679,11 +707,11 @@
+ apu_db_version=0
+
+ AC_ARG_WITH(dbm, [APR_HELP_STRING([--with-dbm=DBM], [choose the DBM type to use.
+- DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47}])],
++ DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4,db41,db42,db43,db44,db45,db46,db47,db48}])],
+ [
+ if test "$withval" = "yes"; then
+ AC_MSG_ERROR([--with-dbm needs to specify a DBM type to use.
+- One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47])
++ One of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48])
+ fi
+ requested="$withval"
+ ], [
+@@ -882,6 +910,10 @@
+ apu_use_db=1
+ apu_default_dbm=db4
+ ;;
++ db48)
++ apu_use_db=1
++ apu_default_dbm=db4
++ ;;
+ default)
+ dnl ### use more sophisticated DBMs for the default?
+ apu_default_dbm="sdbm (default)"
+@@ -889,7 +921,7 @@
+ ;;
+ *)
+ AC_MSG_ERROR([--with-dbm=$look_for is an unknown DBM type.
+- Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47])
++ Use one of: sdbm, gdbm, ndbm, db, db1, db185, db2, db3, db4, db41, db42, db43, db44, db45, db46, db47, db48])
+ ;;
+ esac
+