mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-perl/BerkeleyDB: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2022 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
|
||||
|
||||
DESCRIPTION="This module provides Berkeley DB interface for Perl"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv 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 Prefix, we cannot trust the symlink /usr/include/db.h
|
||||
# as for Gentoo/Linux, so we need to explicitly 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
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST BerkeleyDB-0.64.tar.gz 259656 BLAKE2B 5136c632a7385a7d7866b59b75ba32d3bcd6fc660d7c1d54edba868db831bee2ce5162117d7941793cda1e31b22fa17d624a84ae377348d8dc2c5255016bf714 SHA512 368f89bb12e209ed6f0d1367875739813bfec85f4c10f0ffd7260d5be97bbd758af517133977f1e8f43c1d9b04d6b5dd9696ae1de1d544d9682b1f6bacfe3e85
|
||||
DIST BerkeleyDB-0.65.tar.gz 258814 BLAKE2B 56e7b212fc2228af0c6e7546d8139001f799076dc24cb76aefc9ebcf9878497534d93fd880fce1d2d3292b3e1e53d6a46c57775d8fb63a384777170f05ab329c SHA512 896d1388df35ff0c22ff6ad0cea93bf57be6e09a9176d05b88f34455dcd32e4549d19b11cad2322ae8f323adbe8a8ee6054fe611bdcb1490d26f6bec67686763
|
||||
|
||||
Reference in New Issue
Block a user