x11-misc/dmenu: Fix PREFIX support
authorJeroen Roovers <jer@gentoo.org>
Fri, 18 Jan 2019 07:52:15 +0000 (08:52 +0100)
committerJeroen Roovers <jer@gentoo.org>
Fri, 18 Jan 2019 07:54:27 +0000 (08:54 +0100)
Fixes:  https://bugs.gentoo.org/675750
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Susan Wilson <susanw@airmail.cc>
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/dmenu/dmenu-4.8.ebuild
x11-misc/dmenu/dmenu-9999.ebuild

index 7d0c6c78aff3be812e8085aebd97138a96768fe9..aaf42bf59d99b6483333f59925365e3f136fd206 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -54,7 +54,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX="/usr" install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 
        save_config config.h
 }
index f2222c4d6bc8be59fb13151739d81101a1774fb1..8001b06f1d66b2f0c0fe36a5a0bbcc6b15c216a0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -53,7 +53,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX="/usr" install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 
        save_config config.h
 }