summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-01-30 00:23:33 +0000
committerPacho Ramos <pacho@gentoo.org>2011-01-30 00:23:33 +0000
commit0a88bb6d8550db6d02d931eda209a4306f2fecb3 (patch)
treeaa5e4937b5848d846ea9f5cd55c43d7c190927a9 /eclass/emul-linux-x86.eclass
parentVersion bump. (diff)
downloadhistorical-0a88bb6d8550db6d02d931eda209a4306f2fecb3.tar.gz
historical-0a88bb6d8550db6d02d931eda209a4306f2fecb3.tar.bz2
historical-0a88bb6d8550db6d02d931eda209a4306f2fecb3.zip
Fix 'development' handling.
Diffstat (limited to 'eclass/emul-linux-x86.eclass')
-rw-r--r--eclass/emul-linux-x86.eclass4
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*'
}