commit: cd390304a04cb0446a4982698dced278bb7173d6 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Tue Jun 21 18:51:11 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Tue Jun 21 19:21:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd390304
sys-apps/rename: Move patches in PATCHES array. Package-Manager: portage-2.2.28 sys-apps/rename/rename-1.3-r1.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/sys-apps/rename/rename-1.3-r1.ebuild b/sys-apps/rename/rename-1.3-r1.ebuild index 0e3e576..b87e18c 100644 --- a/sys-apps/rename/rename-1.3-r1.ebuild +++ b/sys-apps/rename/rename-1.3-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 inherit toolchain-funcs eutils @@ -15,14 +15,18 @@ SLOT="0" KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="" +PATCHES=( + "${FILESDIR}"/${P}-rename.patch + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-gcc44.patch +) + src_prepare() { sed -i \ -e '/^CFLAGS/s:-O3:@CFLAGS@:' \ -e '/strip /s:.*::' \ Makefile.in || die - epatch "${FILESDIR}"/${P}-rename.patch - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/${P}-gcc44.patch + epatch "${PATCHES[@]}" tc-export CC }