aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-11 12:10:07 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-11 12:10:07 +0100
commit81a30611845473eb013492cac85f2c85ce31a677 (patch)
treea6e4e605362914e98932afc33e73ab56edcd18aa /sci-physics
parentsci-physics/qcl: Move to EAPI=5, cleanup ebuilds (diff)
downloadsci-81a30611845473eb013492cac85f2c85ce31a677.tar.gz
sci-81a30611845473eb013492cac85f2c85ce31a677.tar.bz2
sci-81a30611845473eb013492cac85f2c85ce31a677.zip
sci-physics/qcl: Fix applying of patches
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/qcl/qcl-0.6.3-r1.ebuild4
-rw-r--r--sci-physics/qcl/qcl-0.6.4.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/sci-physics/qcl/qcl-0.6.3-r1.ebuild b/sci-physics/qcl/qcl-0.6.3-r1.ebuild
index 22da81b14..eaca7e10d 100644
--- a/sci-physics/qcl/qcl-0.6.3-r1.ebuild
+++ b/sci-physics/qcl/qcl-0.6.3-r1.ebuild
@@ -27,6 +27,10 @@ PATCHES=(
"${FILESDIR}/${P}"-makefile.patch
)
+src_prepare() {
+ epatch ${PATCHES[@]}
+}
+
src_install() {
emake \
QCLDIR="${D}/usr/share/${PN}" \
diff --git a/sci-physics/qcl/qcl-0.6.4.ebuild b/sci-physics/qcl/qcl-0.6.4.ebuild
index cf23884a3..035923be7 100644
--- a/sci-physics/qcl/qcl-0.6.4.ebuild
+++ b/sci-physics/qcl/qcl-0.6.4.ebuild
@@ -27,6 +27,10 @@ PATCHES=(
"${FILESDIR}/${P}"-makefile.patch
)
+src_prepare() {
+ epatch ${PATCHES[@]}
+}
+
src_install() {
emake \
QCLDIR="${D}/usr/share/${PN}" \