1 |
commit: 32899eb2c3e8e7026794431ea142506815bbb163 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 12:21:04 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 12:21:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32899eb2 |
7 |
|
8 |
dev-perl/BerkeleyDB: Cleanup old 0.630.0-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
12 |
|
13 |
dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r1.ebuild | 64 ------------------------ |
14 |
1 file changed, 64 deletions(-) |
15 |
|
16 |
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r1.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 848dcc667f7..00000000000 |
19 |
--- a/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,64 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-DIST_AUTHOR=PMQS |
28 |
-DIST_VERSION=0.63 |
29 |
-inherit perl-module db-use |
30 |
- |
31 |
-DESCRIPTION="This module provides Berkeley DB interface for Perl" |
32 |
- |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
35 |
- |
36 |
-# Install DB_File if you want older support. BerkleyDB no longer |
37 |
-# supports less than 2.0. |
38 |
- |
39 |
-RDEPEND=" |
40 |
- >=sys-libs/db-2.0:= |
41 |
- <sys-libs/db-7:= |
42 |
-" |
43 |
-DEPEND=" |
44 |
- >=sys-libs/db-2.0:= |
45 |
- <sys-libs/db-7:= |
46 |
-" |
47 |
-BDEPEND="${RDEPEND} |
48 |
- virtual/perl-ExtUtils-MakeMaker" |
49 |
- |
50 |
-PERL_RM_FILES=( |
51 |
- "t/meta-json.t" |
52 |
- "t/meta-yaml.t" |
53 |
- "t/pod.t" |
54 |
- "scan.pl" |
55 |
- "mkconsts.pl" |
56 |
-) |
57 |
-# parallel really broken |
58 |
-DIST_TEST="do" |
59 |
-src_prepare() { |
60 |
- local DB_SUPPORTED=( |
61 |
- 6 5 4 3 2 |
62 |
- ) |
63 |
- # on Gentoo/FreeBSD we cannot trust on the symlink /usr/include/db.h |
64 |
- # as for Gentoo/Linux, so we need to esplicitely declare the exact berkdb |
65 |
- # include path |
66 |
- local dbdir="$(db_includedir "${DB_SUPPORTED[@]}" )" |
67 |
- local dbname="$(db_libname "${DB_SUPPORTED[@]}" )" |
68 |
- einfo "DB Include Dir: ${dbdir}" |
69 |
- einfo "DB library: ${dbname}" |
70 |
- |
71 |
- rm -f "${S}/config.in" || die "Can't remove packaged config.in" |
72 |
- |
73 |
- printf "INCLUDE = %s\nLIB = %s\nDBNAME = -l%s\n" \ |
74 |
- "${dbdir}" \ |
75 |
- "/usr/lib" \ |
76 |
- "${dbname}" > "${S}"/config.in || die "Can't write config.in" |
77 |
- |
78 |
- perl-module_src_prepare |
79 |
-} |
80 |
-src_compile() { |
81 |
- mymake=( |
82 |
- "OPTIMIZE=${CFLAGS}" |
83 |
- ) |
84 |
- perl-module_src_compile |
85 |
-} |