From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: emul-linux-x86.eclass |
Date: | Sun, 30 Jan 2011 00:23:43 |
Message-Id: | 20110130002333.780D720054@flycatcher.gentoo.org |
1 | pacho 11/01/30 00:23:33 |
2 | |
3 | Modified: emul-linux-x86.eclass |
4 | Log: |
5 | Fix 'development' handling. |
6 | |
7 | Revision Changes Path |
8 | 1.7 eclass/emul-linux-x86.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?rev=1.7&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?rev=1.7&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/emul-linux-x86.eclass?r1=1.6&r2=1.7 |
13 | |
14 | Index: emul-linux-x86.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v |
17 | retrieving revision 1.6 |
18 | retrieving revision 1.7 |
19 | diff -u -r1.6 -r1.7 |
20 | --- emul-linux-x86.eclass 29 Jan 2011 21:46:33 -0000 1.6 |
21 | +++ emul-linux-x86.eclass 30 Jan 2011 00:23:33 -0000 1.7 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.6 2011/01/29 21:46:33 pacho Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.7 2011/01/30 00:23:33 pacho Exp $ |
27 | |
28 | # |
29 | # Original Author: Mike Doty <kingtaco@g.o> |
30 | @@ -36,8 +36,8 @@ |
31 | unpack ${A} |
32 | cd "${S}" |
33 | |
34 | - has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig" |
35 | ALLOWED=${ALLOWED:-^${S}/etc/env.d} |
36 | + has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig" |
37 | find "${S}" ! -type d ! -name '*.so*' | egrep -v "${ALLOWED}" | xargs -d $'\n' rm -f || die 'failed to remove everything but *.so*' |
38 | } |