summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/BerkeleyDB/BerkeleyDB-0.500.0.ebuild32
-rw-r--r--dev-perl/BerkeleyDB/ChangeLog7
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.500.0.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.500.0.ebuild
new file mode 100644
index 000000000000..5d6851d0a66f
--- /dev/null
+++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.500.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/BerkeleyDB/BerkeleyDB-0.500.0.ebuild,v 1.1 2011/12/19 19:04:53 tove Exp $
+
+EAPI=4
+
+MODULE_AUTHOR=PMQS
+MODULE_VERSION=0.50
+inherit perl-module eutils db-use
+
+DESCRIPTION="This module provides Berkeley DB interface for Perl."
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+# Install DB_File if you want older support. BerkleyDB no longer
+# supports less than 2.0.
+
+RDEPEND=">=sys-libs/db-2.0"
+DEPEND="${RDEPEND}
+ test? ( dev-perl/Test-Pod )"
+
+SRC_TEST="do"
+
+src_prepare() {
+ epatch "${FILESDIR}"/Gentoo-config-0.26.diff
+ # on Gentoo/FreeBSD we cannot trust on the symlink /usr/include/db.h
+ # as for Gentoo/Linux, so we need to esplicitely declare the exact berkdb
+ # include path
+ sed -i -e "s:/usr/include:$(db_includedir):" "${S}"/config.in || die "berkdb include directory"
+}
diff --git a/dev-perl/BerkeleyDB/ChangeLog b/dev-perl/BerkeleyDB/ChangeLog
index e33e7039468c..7b51d507fb5d 100644
--- a/dev-perl/BerkeleyDB/ChangeLog
+++ b/dev-perl/BerkeleyDB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/BerkeleyDB
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/BerkeleyDB/ChangeLog,v 1.79 2011/09/04 19:28:00 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/BerkeleyDB/ChangeLog,v 1.80 2011/12/19 19:04:53 tove Exp $
+
+*BerkeleyDB-0.500.0 (19 Dec 2011)
+
+ 19 Dec 2011; Torsten Veller <tove@gentoo.org> +BerkeleyDB-0.500.0.ebuild:
+ Version bump
*BerkeleyDB-0.490.0 (04 Sep 2011)