dev-tex/latexdiff: fix building when installed for the first time, bug #604088
authorAlexis Ballier <aballier@gentoo.org>
Sat, 31 Dec 2016 12:16:23 +0000 (13:16 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 31 Dec 2016 12:16:33 +0000 (13:16 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-tex/latexdiff/latexdiff-1.2.0.ebuild

index 83138be2164483493a2b2f5349b4f1ae5a8f8e6a..ebc0830cdd093e88c7c6834620070fc437af4fa2 100644 (file)
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
        test? ( app-shells/tcsh )"
 
 src_compile() {
-       emake -j1 distribution
+       PATH="${S}/dist:${PATH}" emake -j1 distribution
 }
 
 src_test() {