commit:     46959d1072b4b5ecdf7d6c87e37fb38aba280004
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 18 07:52:15 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 07:54:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46959d10

x11-misc/dmenu: Fix PREFIX support

Fixes:  https://bugs.gentoo.org/675750
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Susan Wilson <susanw <AT> airmail.cc>
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-misc/dmenu/dmenu-4.8.ebuild  | 4 ++--
 x11-misc/dmenu/dmenu-9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-misc/dmenu/dmenu-4.8.ebuild b/x11-misc/dmenu/dmenu-4.8.ebuild
index 7d0c6c78aff..aaf42bf59d9 100644
--- a/x11-misc/dmenu/dmenu-4.8.ebuild
+++ b/x11-misc/dmenu/dmenu-4.8.ebuild
@@ -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
 }

diff --git a/x11-misc/dmenu/dmenu-9999.ebuild b/x11-misc/dmenu/dmenu-9999.ebuild
index f2222c4d6bc..8001b06f1d6 100644
--- a/x11-misc/dmenu/dmenu-9999.ebuild
+++ b/x11-misc/dmenu/dmenu-9999.ebuild
@@ -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
 }

Reply via email to