commit:     81a30611845473eb013492cac85f2c85ce31a677
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Jan 11 11:10:07 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 11:10:07 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=81a30611

sci-physics/qcl: Fix applying of patches

---
 sci-physics/qcl/qcl-0.6.3-r1.ebuild | 4 ++++
 sci-physics/qcl/qcl-0.6.4.ebuild    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sci-physics/qcl/qcl-0.6.3-r1.ebuild 
b/sci-physics/qcl/qcl-0.6.3-r1.ebuild
index 22da81b..eaca7e1 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 cf23884..035923b 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}" \

Reply via email to