diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-06-07 11:35:34 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-06-07 11:36:17 +0900 |
commit | d06378978a7f3769901b7fa33bb92c81f76956a1 (patch) | |
tree | 3d6aab2be645b499dd07937406f0ab1d5362743b /profiles | |
parent | profiles: stable unmask USE=qt5 globally on arm (diff) | |
download | gentoo-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.bashrc | 9 |
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" |