diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-09-20 04:43:06 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-09-20 11:26:17 +1200 |
commit | a128b4abffe4556f10b1e6cac4aaac5f57bee148 (patch) | |
tree | cc773b4e66f19d29f1f45d630321dc18524d70b2 /dev-perl/BerkeleyDB | |
parent | gnome-base/gconf: Stabilize 3.2.6-r5 arm, #743517 (diff) | |
download | gentoo-a128b4abffe4556f10b1e6cac4aaac5f57bee148.tar.gz gentoo-a128b4abffe4556f10b1e6cac4aaac5f57bee148.tar.bz2 gentoo-a128b4abffe4556f10b1e6cac4aaac5f57bee148.zip |
dev-perl/BerkeleyDB: Bump to version 0.640.0
Upstream:
- Refresh ppport.h
- Silence compiler warning from clang in code for calling
"initial_value"
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/BerkeleyDB')
-rw-r--r-- | dev-perl/BerkeleyDB/BerkeleyDB-0.640.0.ebuild | 64 | ||||
-rw-r--r-- | dev-perl/BerkeleyDB/Manifest | 1 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.640.0.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.640.0.ebuild new file mode 100644 index 000000000000..6d77af849ed6 --- /dev/null +++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.640.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=PMQS +DIST_VERSION=0.64 +inherit perl-module db-use multilib + +DESCRIPTION="This module provides Berkeley DB interface for Perl" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# Install DB_File if you want older support. BerkleyDB no longer +# supports less than 2.0. + +RDEPEND=" + >=sys-libs/db-2.0:= + <sys-libs/db-7:= +" +DEPEND=" + >=sys-libs/db-2.0:= + <sys-libs/db-7:= +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker" + +PERL_RM_FILES=( + "t/meta-json.t" + "t/meta-yaml.t" + "t/pod.t" + "scan.pl" + "mkconsts.pl" +) +# parallel really broken +DIST_TEST="do" +src_prepare() { + local DB_SUPPORTED=( + 6 5 4 3 2 + ) + # 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 + local dbdir="$(db_includedir "${DB_SUPPORTED[@]}" )" + local dbname="$(db_libname "${DB_SUPPORTED[@]}" )" + einfo "DB Include Dir: ${dbdir}" + einfo "DB library: ${dbname}" + + rm -f "${S}/config.in" || die "Can't remove packaged config.in" + + printf "INCLUDE = %s\nLIB = %s\nDBNAME = -l%s\n" \ + "${dbdir}" \ + "${EPREFIX}/usr/$(get_libdir)" \ + "${dbname}" > "${S}"/config.in || die "Can't write config.in" + + perl-module_src_prepare +} +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} diff --git a/dev-perl/BerkeleyDB/Manifest b/dev-perl/BerkeleyDB/Manifest index 3a5af5e250c9..7932e263230a 100644 --- a/dev-perl/BerkeleyDB/Manifest +++ b/dev-perl/BerkeleyDB/Manifest @@ -1,2 +1,3 @@ DIST BerkeleyDB-0.55.tar.gz 203318 BLAKE2B 65118bacdb7b597a7f006a341916b21cd4b4d4602e56854fc4d04aa53f995365b4da44ea95a6e0472f5540f74eab46b83c56bb1c9cf8a51779260a6f4746ddd5 SHA512 a9bee92b0168918eaf6fb38b7b66005cfbb360ce89a9ae9feeb022e3d27fa7e627412b5c19233840571ed60568729d4bd83d279f84a0c7db921b8eed9f73afea DIST BerkeleyDB-0.63.tar.gz 208324 BLAKE2B e13f9e4a7993a09ff60378cf19c7baba925850b1996873727f7659787111a9b437b022653329e18e94dead7c29ff0da9ee79d3a67adf2afcc8cdaa02d689c127 SHA512 43edf4eb3650e7b03dfc45ead834ea766d458cf3bc9b6405646142ad0ab223bdb3267815be5a92ddbf3958e5507d39f193d749d9ff6fe83a3beb9e02e8f6c66b +DIST BerkeleyDB-0.64.tar.gz 259656 BLAKE2B 5136c632a7385a7d7866b59b75ba32d3bcd6fc660d7c1d54edba868db831bee2ce5162117d7941793cda1e31b22fa17d624a84ae377348d8dc2c5255016bf714 SHA512 368f89bb12e209ed6f0d1367875739813bfec85f4c10f0ffd7260d5be97bbd758af517133977f1e8f43c1d9b04d6b5dd9696ae1de1d544d9682b1f6bacfe3e85 |