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"
}
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
-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\"|" \