p/p/l-s/profile.bashrc: on RAP iconv is provided by glibc.
authorBenda Xu <heroxbd@gentoo.org>
Tue, 14 Jun 2016 04:45:06 +0000 (13:45 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Tue, 14 Jun 2016 04:46:13 +0000 (13:46 +0900)
Bug: 419525

profiles/prefix/linux-standalone/profile.bashrc

index e2902e1402dd262dfcee22d64b8a00fab81b5462..77092b95fed8e705ea0922b966e9826fae484eb6 100644 (file)
@@ -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