summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-07 11:35:34 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-07 11:36:17 +0900
commitd06378978a7f3769901b7fa33bb92c81f76956a1 (patch)
tree3d6aab2be645b499dd07937406f0ab1d5362743b /profiles
parentprofiles: stable unmask USE=qt5 globally on arm (diff)
downloadgentoo-d06378978a7f3769901b7fa33bb92c81f76956a1.tar.gz
gentoo-d06378978a7f3769901b7fa33bb92c81f76956a1.tar.bz2
gentoo-d06378978a7f3769901b7fa33bb92c81f76956a1.zip
profiles/prefix/linux-standalone: remove perl android logics.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/prefix/linux-standalone/profile.bashrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 8399ce654427..2b0e3b1b23d0 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -60,8 +60,13 @@ elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]];
eend $?
elif [[ ${CATEGORY}/${PN} == dev-lang/perl && ${EBUILD_PHASE} == configure ]]; then
ebegin "Prefixifying pwd path"
- sed -i -r \
- -e "s,'((|/usr)/bin/pwd),'${EPREFIX}\1," "${S}"/dist/PathTools/Cwd.pm
+ sed -r "s,'((|/usr)/bin/pwd),'${EPREFIX}\1," -i "${S}"/dist/PathTools/Cwd.pm
+ eend $?
+
+ # Configure checks for /system/lib/libandroid.so to override linux into linux-android,
+ # which is not desired for Gentoo
+ ebegin "Removing Android detection"
+ sed "/libandroid.so/d" -i "${S}"/Configure
eend $?
elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; then
ebegin "Prefixifying default shell"