vapier 14/06/07 05:08:19 Modified: toolchain-binutils.eclass Log: start setting --with-pkgversion details in our builds so --version output looks good
Revision Changes Path 1.133 eclass/toolchain-binutils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.133&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.132&r2=1.133 Index: toolchain-binutils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v retrieving revision 1.132 retrieving revision 1.133 diff -u -r1.132 -r1.133 --- toolchain-binutils.eclass 6 Jun 2014 19:33:22 -0000 1.132 +++ toolchain-binutils.eclass 7 Jun 2014 05:08:19 -0000 1.133 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.132 2014/06/06 19:33:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $ # # Maintainer: Toolchain Ninjas <[email protected]> # @@ -281,6 +281,8 @@ has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt ) has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt ) + local pkgver="Gentoo ${BVER}" + [[ -n ${PATCHVER} ]] && pkgver+=" p${PATCHVER}" myconf+=( --prefix="${EPREFIX}"/usr --host=${CHOST} @@ -299,6 +301,7 @@ --enable-install-libiberty --disable-werror --with-bugurl=http://bugs.gentoo.org/ + --with-pkgversion="${pkgver}" $(use_enable static-libs static) ${EXTRA_ECONF} # Disable modules that are in a combined binutils/gdb tree. #490566
