sys-libs/libcap-ng: Run eautomake in prefix
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 21 Nov 2018 14:41:45 +0000 (15:41 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 21 Nov 2018 14:45:37 +0000 (15:45 +0100)
Prefix needs to change some Makefile.am files which then requires
eautomake to be run.

Bug: https://bugs.gentoo.org/668722
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild

index 5ca28257fb800a08af9df652980fa41672ed8c35..6b134492aa9d3249189a34bbda875bea0debdebf 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
 
-inherit flag-o-matic python-r1
+inherit autotools flag-o-matic python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/"
@@ -26,13 +26,14 @@ src_prepare() {
        default
        if use prefix ; then
                sed -i "s@cat /usr@cat ${EPREFIX}/usr@" bindings/python*/Makefile.am || die
+               eautomake #668722
        fi
 }
 
 src_configure() {
        use sparc && replace-flags -O? -O0
 
-       local ECONF_SOURCE=${S}
+       local ECONF_SOURCE="${S}"
 
        local myconf=(
                $(use_enable static-libs static)