summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2017-04-11 13:53:48 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2017-04-11 13:53:48 +0200
commitb97b1f75a83f56c51cecb454e527ccfe2a243378 (patch)
treed93d81ba20d8ef41aa6d6161b81447ea29fdde4d /sys-apps/baselayout-prefix
parentprofiles: add 'prefix-chain' to IUSE_IMPLICIT, use.masked (diff)
downloadgentoo-b97b1f75a83f56c51cecb454e527ccfe2a243378.tar.gz
gentoo-b97b1f75a83f56c51cecb454e527ccfe2a243378.tar.bz2
gentoo-b97b1f75a83f56c51cecb454e527ccfe2a243378.zip
sys-apps/baselayout-prefix: switch to implicit iuse prefix-chain
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-apps/baselayout-prefix')
-rw-r--r--sys-apps/baselayout-prefix/baselayout-prefix-2.2-r5.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r5.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r5.ebuild
index 628b47af038e..9f59ae36b38f 100644
--- a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r5.ebuild
+++ b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r5.ebuild
@@ -13,7 +13,6 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-IUSE="prefix-chaining"
KEYWORDS="~arm ~ppc-aix ~x64-cygwin ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
RDEPEND="sys-apps/gentoo-functions"
@@ -29,7 +28,7 @@ pkg_preinst() {
}
src_prepare() {
- if use prefix-chaining; then
+ if use prefix-chain; then
epatch "${FILESDIR}"/baselayout-${PV}-prefix-chaining.patch
# need to set the PKG_CONFIG_PATH globally for this prefix, when
@@ -56,7 +55,7 @@ src_install() {
-e "/PATH=/!s:/\(etc\|usr/bin\|bin\):\"${EPREFIX}\"/\1:g" \
-e "/PATH=/s|\([:\"]\)/|\1${EPREFIX}/|g" \
etc/profile > "${ED}"/etc/profile || die
- if ! use prefix-chaining; then
+ if ! use prefix-chain; then
sed \
-e "/PATH=.*\/sbin/s|\"$|:/usr/sbin:/sbin\"|" \
-e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \