mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
sys-libs/libcap-ng: use dot-a.eclass
Closes: https://bugs.gentoo.org/960469 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/637 Merges: https://codeberg.org/gentoo/gentoo/pulls/637 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=8
|
||||
# Keep an eye on Fedora's packaging (https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
|
||||
# Same maintainer in Fedora as upstream
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit autotools flag-o-matic out-of-source-utils python-r1
|
||||
inherit autotools dot-a flag-o-matic out-of-source-utils python-r1
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/"
|
||||
@@ -38,6 +38,9 @@ src_prepare() {
|
||||
src_configure() {
|
||||
use sparc && replace-flags -O? -O0
|
||||
|
||||
# bug #960469
|
||||
use static-libs && lto-guarantee-fat
|
||||
|
||||
local ECONF_SOURCE="${S}"
|
||||
|
||||
local myconf=(
|
||||
@@ -97,5 +100,8 @@ src_install() {
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" install
|
||||
fi
|
||||
|
||||
# bug #960469
|
||||
use static-libs && strip-lto-bytecode
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=8
|
||||
# Keep an eye on Fedora's packaging (https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
|
||||
# Same maintainer in Fedora as upstream
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit autotools flag-o-matic out-of-source-utils python-r1
|
||||
inherit autotools dot-a flag-o-matic out-of-source-utils python-r1
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/"
|
||||
@@ -51,6 +51,9 @@ src_prepare() {
|
||||
src_configure() {
|
||||
use sparc && replace-flags -O? -O0
|
||||
|
||||
# bug #960469
|
||||
use static-libs && lto-guarantee-fat
|
||||
|
||||
local ECONF_SOURCE="${S}"
|
||||
|
||||
local myconf=(
|
||||
@@ -112,5 +115,8 @@ src_install() {
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" install
|
||||
fi
|
||||
|
||||
# bug #960469
|
||||
use static-libs && strip-lto-bytecode
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user