summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2020-10-11 15:16:05 +1100
committerMichael Palimaka <kensington@gentoo.org>2020-10-11 15:16:05 +1100
commit488ef15aefdbbe2b554cf51e4cbfb29c920407f1 (patch)
tree9f0e8f3eec37ecd652420bbeaab82b7958ab0902 /sys-apps
parentdev-python/python-zunclient: 4.1.1 bump (diff)
downloadgentoo-488ef15aefdbbe2b554cf51e4cbfb29c920407f1.tar.gz
gentoo-488ef15aefdbbe2b554cf51e4cbfb29c920407f1.tar.bz2
gentoo-488ef15aefdbbe2b554cf51e4cbfb29c920407f1.zip
sys-apps/apparmor: respect CPP
Closes: https://bugs.gentoo.org/747571 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/apparmor/apparmor-3.0.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/apparmor/apparmor-3.0.0.ebuild b/sys-apps/apparmor/apparmor-3.0.0.ebuild
index 662a23505d2f..36c5b717c4b8 100644
--- a/sys-apps/apparmor/apparmor-3.0.0.ebuild
+++ b/sys-apps/apparmor/apparmor-3.0.0.ebuild
@@ -40,6 +40,11 @@ src_prepare() {
# remove warning about missing file that controls features
# we don't currently support
sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die
+
+ # bug 634782
+ sed -e "s/cpp/$(tc-getCPP) -/" \
+ -i ../common/list_capabilities.sh \
+ -i ../common/list_af_names.sh || die
}
src_compile() {