1 |
commit: 7bb0c6747b5e76689162f34f913619371eba0942 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 16:31:34 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 16:31:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb0c674 |
7 |
|
8 |
sys-cluster/classads: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725790 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/classads/classads-1.0.10.ebuild | 28 ++++++++++++++++++++-------- |
15 |
1 file changed, 20 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/sys-cluster/classads/classads-1.0.10.ebuild b/sys-cluster/classads/classads-1.0.10.ebuild |
18 |
index 72ea735ea47..4b692bd26e3 100644 |
19 |
--- a/sys-cluster/classads/classads-1.0.10.ebuild |
20 |
+++ b/sys-cluster/classads/classads-1.0.10.ebuild |
21 |
@@ -1,8 +1,9 @@ |
22 |
-# Copyright 1999-2012 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=4 |
27 |
-inherit autotools-utils |
28 |
+EAPI=7 |
29 |
+ |
30 |
+inherit autotools |
31 |
|
32 |
DESCRIPTION="Condor's classified advertisement language" |
33 |
HOMEPAGE="http://www.cs.wisc.edu/condor/classad/" |
34 |
@@ -11,15 +12,26 @@ SRC_URI="ftp://ftp.cs.wisc.edu/condor/classad/c++/${P}.tar.gz" |
35 |
LICENSE="Apache-2.0" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="pcre static-libs" |
39 |
+IUSE="pcre" |
40 |
|
41 |
RDEPEND="pcre? ( dev-libs/libpcre )" |
42 |
DEPEND="${RDEPEND}" |
43 |
|
44 |
+src_prepare() { |
45 |
+ default |
46 |
+ eautoreconf |
47 |
+} |
48 |
+ |
49 |
src_configure() { |
50 |
- myeconfargs+=( |
51 |
- --enable-namespace |
52 |
+ econf \ |
53 |
+ --disable-static \ |
54 |
+ --enable-namespace \ |
55 |
--enable-flexible-member |
56 |
- ) |
57 |
- autotools-utils_src_configure |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ default |
62 |
+ |
63 |
+ # no static archives |
64 |
+ find "${ED}" -name '*.la' -delete || die |
65 |
} |