commit:     6a2d4a2f1f5f67c225b1bae6a74f1a794f3b1251
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon May 15 14:31:56 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon May 15 14:31:56 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a2d4a2f

dev-lang/yaggo: also respect ${EPREFIX}

https://github.com/gmarcais/yaggo/issues/7

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-lang/yaggo/yaggo-1.5.9.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-lang/yaggo/yaggo-1.5.9.ebuild 
b/dev-lang/yaggo/yaggo-1.5.9.ebuild
index b4b317434..0cf026888 100644
--- a/dev-lang/yaggo/yaggo-1.5.9.ebuild
+++ b/dev-lang/yaggo/yaggo-1.5.9.ebuild
@@ -18,5 +18,10 @@ RDEPEND="${DEPEND}"
 src_prepare(){
        sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile || die
        sed -e 's#/usr/local#/usr#g' -i Makefile || die
+       sed -e 's#prefix#PREFIX#g' -i Makefile || die
        default
 }
+
+src_install(){
+       emake DESTDIR="${ED}"/usr
+}

Reply via email to