diff options
Diffstat (limited to 'sys-libs')
| -rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 10 | ||||
| -rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild | 8 |
2 files changed, 15 insertions, 3 deletions
diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild index ebb866d7509a..9264a7c8ea9c 100644 --- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild +++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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_{10..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 } diff --git a/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild b/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild index 614fbd6c4ce5..9212c4f69f7f 100644 --- a/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild +++ b/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild @@ -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_{10..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 } |
