From d06378978a7f3769901b7fa33bb92c81f76956a1 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Tue, 7 Jun 2016 11:35:34 +0900 Subject: profiles/prefix/linux-standalone: remove perl android logics. --- profiles/prefix/linux-standalone/profile.bashrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'profiles') 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" -- cgit v1.2.3-65-gdbad