summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-06-04 18:53:18 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-06-04 18:53:18 +0000
commit48e83d6d94257cb3e786d00019ace728f5ba3cce (patch)
treed28d85f9124f668c511a974439edc8378e5214e6
parentNew series of c++-gtk-utils in a own SLOT; might as well use the free 0. (diff)
downloadgentoo-2-48e83d6d94257cb3e786d00019ace728f5ba3cce.tar.gz
gentoo-2-48e83d6d94257cb3e786d00019ace728f5ba3cce.tar.bz2
gentoo-2-48e83d6d94257cb3e786d00019ace728f5ba3cce.zip
Switch to EAPI5 and respect RANLIB (bug #468188)
(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
-rw-r--r--sci-physics/paw/ChangeLog5
-rw-r--r--sci-physics/paw/paw-2.14.04-r4.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog
index b242eafe8fb2..ceea1d358bf8 100644
--- a/sci-physics/paw/ChangeLog
+++ b/sci-physics/paw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-physics/paw
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.26 2013/01/17 19:15:39 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.27 2013/06/04 18:53:18 bicatali Exp $
+
+ 04 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> paw-2.14.04-r4.ebuild:
+ Switch to EAPI5 and respect RANLIB (bug #468188)
*paw-2.14.04-r4 (17 Jan 2013)
diff --git a/sci-physics/paw/paw-2.14.04-r4.ebuild b/sci-physics/paw/paw-2.14.04-r4.ebuild
index 9c3635aa6706..efc51bffaf99 100644
--- a/sci-physics/paw/paw-2.14.04-r4.ebuild
+++ b/sci-physics/paw/paw-2.14.04-r4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r4.ebuild,v 1.1 2013/01/17 19:15:39 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r4.ebuild,v 1.2 2013/06/04 18:53:18 bicatali Exp $
-EAPI=4
+EAPI=5
inherit eutils toolchain-funcs fortran-2
@@ -52,6 +52,11 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
# since we depend on cfortran, do not use the one from cernlib
rm src/include/cfortran/cfortran.h || die
+ sed -i \
+ -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
+ -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
+ src/config/Imake.tmpl \
+ || die "sed Imake.tmpl failed"
}
src_compile() {