Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain-binutils.eclass
Date: Sat, 07 Jun 2014 05:08:25
Message-Id: 20140607050819.5AC832004E@flycatcher.gentoo.org
1 vapier 14/06/07 05:08:19
2
3 Modified: toolchain-binutils.eclass
4 Log:
5 start setting --with-pkgversion details in our builds so --version output looks good
6
7 Revision Changes Path
8 1.133 eclass/toolchain-binutils.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.132&r2=1.133
13
14 Index: toolchain-binutils.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v
17 retrieving revision 1.132
18 retrieving revision 1.133
19 diff -u -r1.132 -r1.133
20 --- toolchain-binutils.eclass 6 Jun 2014 19:33:22 -0000 1.132
21 +++ toolchain-binutils.eclass 7 Jun 2014 05:08:19 -0000 1.133
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2013 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.132 2014/06/06 19:33:22 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29 #
30 @@ -281,6 +281,8 @@
31 has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt )
32 has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt )
33
34 + local pkgver="Gentoo ${BVER}"
35 + [[ -n ${PATCHVER} ]] && pkgver+=" p${PATCHVER}"
36 myconf+=(
37 --prefix="${EPREFIX}"/usr
38 --host=${CHOST}
39 @@ -299,6 +301,7 @@
40 --enable-install-libiberty
41 --disable-werror
42 --with-bugurl=http://bugs.gentoo.org/
43 + --with-pkgversion="${pkgver}"
44 $(use_enable static-libs static)
45 ${EXTRA_ECONF}
46 # Disable modules that are in a combined binutils/gdb tree. #490566