summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-14 13:45:06 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-14 13:46:13 +0900
commitf66f3a933539d7a73ede984c7b554687dcfc8a62 (patch)
tree8c7e093e1152f0b877b546094bb2861ea32d4408 /profiles/prefix
parentapp-emacs/color-theme, scim-bridge-el: keyword ~arm. (diff)
downloadgentoo-f66f3a933539d7a73ede984c7b554687dcfc8a62.tar.gz
gentoo-f66f3a933539d7a73ede984c7b554687dcfc8a62.tar.bz2
gentoo-f66f3a933539d7a73ede984c7b554687dcfc8a62.zip
p/p/l-s/profile.bashrc: on RAP iconv is provided by glibc.
Bug: 419525
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/linux-standalone/profile.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index e2902e1402dd..77092b95fed8 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -73,4 +73,9 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; th
ebegin "Prefixifying default shell"
sed -i -r "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," "${S}"/job.c
eend $?
+elif [[ ${CATEGORY}/${PN} == dev-lang/php && ${EBUILD_PHASE} == prepare ]]; then
+ # introduced in bug 419525, subtle glibc location difference.
+ ebegin "Prefixifying ext/iconv/config.m4 paths"
+ sed -i -r "/for i in/s,(/usr(/local|)),${EPREFIX}\1,g" "${S}"/ext/iconv/config.m4
+ eend $?
fi