app-misc/dvtm: Add prefix support by Peter Henry (bug #637906).
authorJeroen Roovers <jer@gentoo.org>
Sun, 31 Dec 2017 18:41:37 +0000 (19:41 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 31 Dec 2017 18:41:50 +0000 (19:41 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-misc/dvtm/dvtm-0.15-r1.ebuild
app-misc/dvtm/dvtm-9999.ebuild

index 5d19ed9aab628950e1f223c398d15e586a12f742..8a4b03dec2eb8e4ae436c6386fecabb640dbbcf7 100644 (file)
@@ -42,7 +42,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX="/usr" STRIP=true install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP=true install
 
        insinto /usr/share/${PN}
        newins config.h ${PF}.config.h
index e80675e8d2febbcff4f327c34e6e35981f9272b1..557a8538c0a9bd8c04efbc7141d43a9ac428e6ba 100644 (file)
@@ -42,7 +42,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX="/usr" STRIP=true install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP=true install
 
        insinto /usr/share/${PN}
        newins config.h ${PF}.config.h