aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Malte Gottfried <jmgottfried@web.de>2012-03-23 19:32:41 +0100
committerJens-Malte Gottfried <jmgottfried@web.de>2012-03-23 19:32:41 +0100
commit73a230a45861be10fb5c4eeb6eafc5f482899856 (patch)
tree6938cb66e9c48d484f56c5c8d08f12be313dcf66 /sci-mathematics
parentsci-physics/root: fix Manifest (diff)
downloadsci-73a230a45861be10fb5c4eeb6eafc5f482899856.tar.gz
sci-73a230a45861be10fb5c4eeb6eafc5f482899856.tar.bz2
sci-73a230a45861be10fb5c4eeb6eafc5f482899856.zip
using PATCHES variable instead of epatch
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/petsc/petsc-3.2_p6.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/sci-mathematics/petsc/petsc-3.2_p6.ebuild b/sci-mathematics/petsc/petsc-3.2_p6.ebuild
index a3b11c414..a0b84e0ac 100644
--- a/sci-mathematics/petsc/petsc-3.2_p6.ebuild
+++ b/sci-mathematics/petsc/petsc-3.2_p6.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils flag-o-matic fortran-2 toolchain-funcs versionator
+inherit base flag-o-matic fortran-2 toolchain-funcs versionator
MY_P="${PN}-$(replace_version_separator _ -)"
@@ -55,14 +55,13 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-configure-pic.patch \
- "${FILESDIR}"/${P}-disable-env-warnings.patch \
- "${FILESDIR}"/${P}-disable-rpath.patch \
- "${FILESDIR}"/${P}-fix-xops.patch \
- "${FILESDIR}"/${P}-fix-afterimage.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-configure-pic.patch
+ "${FILESDIR}"/${P}-disable-env-warnings.patch
+ "${FILESDIR}"/${P}-disable-rpath.patch
+ "${FILESDIR}"/${P}-fix-xops.patch
+ "${FILESDIR}"/${P}-fix-afterimage.patch
+)
src_configure() {
# petsc uses --with-blah=1 and --with-blah=0 to en/disable options