Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
Date: Sat, 10 Nov 2007 04:07:27
Message-Id: E1Iqhcv-0003RT-Rt@stork.gentoo.org
1 vapier 07/11/10 04:07:21
2
3 Modified: src_unpack.eblit
4 Log:
5 Add support for USE=vanilla.
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.3 sys-libs/glibc/files/eblits/src_unpack.eblit
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.2&r2=1.3
14
15 Index: src_unpack.eblit
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- src_unpack.eblit 7 Oct 2007 03:43:52 -0000 1.2
22 +++ src_unpack.eblit 10 Nov 2007 04:07:21 -0000 1.3
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.2 2007/10/07 03:43:52 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.3 2007/11/10 04:07:21 vapier Exp $
28
29 check_kheader_version() {
30 local version=$(
31 @@ -67,7 +67,9 @@
32 # pull out all the addons
33 local d
34 for d in extra/*/configure ; do
35 - mv "${d%/configure}" "${S}" || die "moving ${d}"
36 + d=${d%/configure}
37 + [[ -d ${S}/${d} ]] && die "${d} already exists in \${S}"
38 + mv "${d}" "${S}" || die "moving ${d} failed"
39 done
40 fi
41
42 @@ -93,7 +95,7 @@
43 unpack glibc-infopages-${INFOPAGE_VER}.tar.bz2
44 fi
45
46 - if [[ -n ${PATCH_VER} ]] ; then
47 + if [[ -n ${PATCH_VER} ]] && ! use vanilla ; then
48 cd "${S}"
49 EPATCH_MULTI_MSG="Applying Gentoo Glibc Patchset ${PATCH_GLIBC_VER}-${PATCH_VER} ..." \
50 EPATCH_EXCLUDE=${GLIBC_PATCH_EXCLUDE} \
51
52
53
54 --
55 gentoo-commits@g.o mailing list