diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-02-27 08:01:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-02-27 08:01:12 +0000 |
commit | e628908e469aad2bc8b0437c4f8500223609f1ee (patch) | |
tree | 445b2e980791f03f4f16c5110358423d5197b9bb /sys-libs/newlib | |
parent | Version Bump (diff) | |
download | gentoo-2-e628908e469aad2bc8b0437c4f8500223609f1ee.tar.gz gentoo-2-e628908e469aad2bc8b0437c4f8500223609f1ee.tar.bz2 gentoo-2-e628908e469aad2bc8b0437c4f8500223609f1ee.zip |
Use more readable CTARGET setup logic.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-libs/newlib')
-rw-r--r-- | sys-libs/newlib/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-1.18.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-1.19.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-1.20.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-2.0.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-2.1.0.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-2.2.0.20150225.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-2.2.0.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-9999.ebuild | 6 |
9 files changed, 36 insertions, 30 deletions
diff --git a/sys-libs/newlib/ChangeLog b/sys-libs/newlib/ChangeLog index aa0c9add4091..33d479781402 100644 --- a/sys-libs/newlib/ChangeLog +++ b/sys-libs/newlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/newlib # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.28 2015/02/25 19:42:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.29 2015/02/27 08:01:12 vapier Exp $ + + 27 Feb 2015; Mike Frysinger <vapier@gentoo.org> newlib-1.18.0.ebuild, + newlib-1.19.0.ebuild, newlib-1.20.0.ebuild, newlib-2.0.0.ebuild, + newlib-2.1.0.ebuild, newlib-2.2.0.20150225.ebuild, newlib-2.2.0.ebuild, + newlib-9999.ebuild: + Use more readable CTARGET setup logic. *newlib-2.2.0.20150225 (25 Feb 2015) diff --git a/sys-libs/newlib/newlib-1.18.0.ebuild b/sys-libs/newlib/newlib-1.18.0.ebuild index cb0546dd2956..0b1a1c99a75d 100644 --- a/sys-libs/newlib/newlib-1.18.0.ebuild +++ b/sys-libs/newlib/newlib-1.18.0.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild,v 1.5 2013/02/09 04:40:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.18.0.ebuild,v 1.6 2015/02/27 08:01:12 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-1.19.0.ebuild b/sys-libs/newlib/newlib-1.19.0.ebuild index 0afb51d75046..1fcedb4c7781 100644 --- a/sys-libs/newlib/newlib-1.19.0.ebuild +++ b/sys-libs/newlib/newlib-1.19.0.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.19.0.ebuild,v 1.3 2013/02/09 04:40:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.19.0.ebuild,v 1.4 2015/02/27 08:01:12 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-1.20.0.ebuild b/sys-libs/newlib/newlib-1.20.0.ebuild index 87b03629ceee..37d6b9a04f56 100644 --- a/sys-libs/newlib/newlib-1.20.0.ebuild +++ b/sys-libs/newlib/newlib-1.20.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.20.0.ebuild,v 1.5 2013/02/09 04:40:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.20.0.ebuild,v 1.6 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -9,8 +9,8 @@ inherit eutils flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-2.0.0.ebuild b/sys-libs/newlib/newlib-2.0.0.ebuild index e488a296bd34..0790a9fd431c 100644 --- a/sys-libs/newlib/newlib-2.0.0.ebuild +++ b/sys-libs/newlib/newlib-2.0.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.0.0.ebuild,v 1.2 2013/12/24 06:43:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.0.0.ebuild,v 1.3 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -9,8 +9,8 @@ inherit flag-o-matic toolchain-funcs export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-2.1.0.ebuild b/sys-libs/newlib/newlib-2.1.0.ebuild index b8ed3d0b3f63..45f9ed8afb8f 100644 --- a/sys-libs/newlib/newlib-2.1.0.ebuild +++ b/sys-libs/newlib/newlib-2.1.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.1.0.ebuild,v 1.3 2014/10/31 01:55:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.1.0.ebuild,v 1.4 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -9,8 +9,8 @@ inherit flag-o-matic toolchain-funcs eutils export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-2.2.0.20150225.ebuild b/sys-libs/newlib/newlib-2.2.0.20150225.ebuild index c813ebfd7f23..33449061b870 100644 --- a/sys-libs/newlib/newlib-2.2.0.20150225.ebuild +++ b/sys-libs/newlib/newlib-2.2.0.20150225.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.2.0.20150225.ebuild,v 1.1 2015/02/25 19:42:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.2.0.20150225.ebuild,v 1.2 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -19,8 +19,8 @@ fi export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-2.2.0.ebuild b/sys-libs/newlib/newlib-2.2.0.ebuild index 6f585716c6b1..44ddeb65dc75 100644 --- a/sys-libs/newlib/newlib-2.2.0.ebuild +++ b/sys-libs/newlib/newlib-2.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.2.0.ebuild,v 1.1 2015/02/17 07:03:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-2.2.0.ebuild,v 1.2 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -17,8 +17,8 @@ fi export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild index 4558c965002e..7b3a2683b1a9 100644 --- a/sys-libs/newlib/newlib-9999.ebuild +++ b/sys-libs/newlib/newlib-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-9999.ebuild,v 1.3 2015/02/25 19:42:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-9999.ebuild,v 1.4 2015/02/27 08:01:12 vapier Exp $ EAPI="4" @@ -19,8 +19,8 @@ fi export CBUILD=${CBUILD:-${CHOST}} export CTARGET=${CTARGET:-${CHOST}} if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} fi fi |