commit:     a7a715d88cb763b2457d2ea5f8ff8d73413437d2
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Apr  4 16:02:27 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 16:48:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a715d8

sys-libs/libcap-ng: use --with-capability_header

The sed no longer does anything so use the new upstream configure
argument instead.

Upstream-Commit: 
https://github.com/stevegrubb/libcap-ng/commit/a22d36a8c23dd40b39073ee0d3ca59f8eda160fe
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/36101
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index b2bf31f448fc..61b5078da390 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -34,11 +34,6 @@ PATCHES=(
 src_prepare() {
        default
 
-       if use prefix ; then
-               # bug #668722
-               sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-       fi
-
        eautoreconf
 }
 
@@ -49,6 +44,7 @@ src_configure() {
 
        local myconf=(
                $(use_enable static-libs static)
+               
--with-capability_header="${ESYSROOT}"/usr/include/linux/capability.h
        )
 
        local pythonconf=(

Reply via email to