From 968fe10adbc362b1aacf682bac3eba8c32d1c058 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 3 Feb 2018 16:25:38 +0100 Subject: sys-apps/portage: Enable additional QA features for USE=gentoo-dev Enable additional FEATURES for developers that are not ready for deployment on our users but are useful for preventing developers from committing common mistakes. Closes: https://github.com/gentoo/gentoo/pull/7034 --- sys-apps/portage/portage-2.3.24.ebuild | 4 ++++ sys-apps/portage/portage-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'sys-apps') diff --git a/sys-apps/portage/portage-2.3.24.ebuild b/sys-apps/portage/portage-2.3.24.ebuild index 8de39be77589..9c6f5d9387dc 100644 --- a/sys-apps/portage/portage-2.3.24.ebuild +++ b/sys-apps/portage/portage-2.3.24.ebuild @@ -99,6 +99,10 @@ python_prepare_all() { sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \ -i pym/_emerge/create_depgraph_params.py || \ die "failed to patch create_depgraph_params.py" + + einfo "Enabling additional FEATURES for gentoo-dev..." + echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \ + >> cnf/make.globals || die fi if use native-extensions; then diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index fdf7d5dee9dc..e91f5535212f 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -98,6 +98,10 @@ python_prepare_all() { sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \ -i pym/_emerge/create_depgraph_params.py || \ die "failed to patch create_depgraph_params.py" + + einfo "Enabling additional FEATURES for gentoo-dev..." + echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \ + >> cnf/make.globals || die fi if use native-extensions; then -- cgit v1.2.3-65-gdbad