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:
Holger Hoffstätte
2026-04-15 18:11:39 +01:00
committed by Sam James
parent b7ec13bfca
commit a8dc3ac147
2 changed files with 14 additions and 2 deletions
+7 -1
View File
@@ -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
}
+7 -1
View File
@@ -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
}