summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-04-04 09:02:27 -0700
committerMike Gilbert <floppym@gentoo.org>2024-04-04 12:48:19 -0400
commita7a715d88cb763b2457d2ea5f8ff8d73413437d2 (patch)
treeb35070826244da14a857fe31ba8afadbdb7251b2 /sys-libs
parentsys-libs/libcap-ng: link using libcap-ng.la (diff)
downloadgentoo-a7a715d88cb763b2457d2ea5f8ff8d73413437d2.tar.gz
gentoo-a7a715d88cb763b2457d2ea5f8ff8d73413437d2.tar.bz2
gentoo-a7a715d88cb763b2457d2ea5f8ff8d73413437d2.zip
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@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/36101 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild6
1 files changed, 1 insertions, 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=(