diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-01-30 00:23:33 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-01-30 00:23:33 +0000 |
commit | 43368e8ba19602e70b1fd7fe7f7e160c3ebedde0 (patch) | |
tree | 463e49de8c09d4403f9ef61f04a5ea344b88c077 /eclass | |
parent | eapi=3 (diff) | |
download | gentoo-2-43368e8ba19602e70b1fd7fe7f7e160c3ebedde0.tar.gz gentoo-2-43368e8ba19602e70b1fd7fe7f7e160c3ebedde0.tar.bz2 gentoo-2-43368e8ba19602e70b1fd7fe7f7e160c3ebedde0.zip |
Fix 'development' handling.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/emul-linux-x86.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/emul-linux-x86.eclass b/eclass/emul-linux-x86.eclass index a91a09930937..edc2446d35a1 100644 --- a/eclass/emul-linux-x86.eclass +++ b/eclass/emul-linux-x86.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.6 2011/01/29 21:46:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.7 2011/01/30 00:23:33 pacho Exp $ # # Original Author: Mike Doty <kingtaco@gentoo.org> @@ -36,8 +36,8 @@ emul-linux-x86_src_unpack() { unpack ${A} cd "${S}" - has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig" ALLOWED=${ALLOWED:-^${S}/etc/env.d} + has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig" find "${S}" ! -type d ! -name '*.so*' | egrep -v "${ALLOWED}" | xargs -d $'\n' rm -f || die 'failed to remove everything but *.so*' } |