Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/
Date: Wed, 21 Nov 2018 14:45:52
Message-Id: 1542811537.502191e9780c5d5d6e9b886318915c6394a8bf36.polynomial-c@gentoo
1 commit: 502191e9780c5d5d6e9b886318915c6394a8bf36
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 14:41:45 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 14:45:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502191e9
7
8 sys-libs/libcap-ng: Run eautomake in prefix
9
10 Prefix needs to change some Makefile.am files which then requires
11 eautomake to be run.
12
13 Bug: https://bugs.gentoo.org/668722
14 Package-Manager: Portage-2.3.52, Repoman-2.3.12
15 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
16
17 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 9 +++++----
18 1 file changed, 5 insertions(+), 4 deletions(-)
19
20 diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
21 index 5ca28257fb8..6b134492aa9 100644
22 --- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
23 +++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
24 @@ -1,11 +1,11 @@
25 -# Copyright 1999-2018 Gentoo Foundation
26 +# Copyright 1999-2018 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=6
30
31 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
32 +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
33
34 -inherit flag-o-matic python-r1
35 +inherit autotools flag-o-matic python-r1
36
37 DESCRIPTION="POSIX 1003.1e capabilities"
38 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/"
39 @@ -26,13 +26,14 @@ src_prepare() {
40 default
41 if use prefix ; then
42 sed -i "s@cat /usr@cat ${EPREFIX}/usr@" bindings/python*/Makefile.am || die
43 + eautomake #668722
44 fi
45 }
46
47 src_configure() {
48 use sparc && replace-flags -O? -O0
49
50 - local ECONF_SOURCE=${S}
51 + local ECONF_SOURCE="${S}"
52
53 local myconf=(
54 $(use_enable static-libs static)