commit:     9710b055febb9354403dfc2f21ee8a5197de8a99
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 07:18:56 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 07:18:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9710b055

x11-wm/bspwm: prefix support

Closes: https://bugs.gentoo.org/795333
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 x11-wm/bspwm/bspwm-0.9.10.ebuild | 2 +-
 x11-wm/bspwm/bspwm-0.9.9.ebuild  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-wm/bspwm/bspwm-0.9.10.ebuild b/x11-wm/bspwm/bspwm-0.9.10.ebuild
index b56b16b16c0..84e87f40707 100644
--- a/x11-wm/bspwm/bspwm-0.9.10.ebuild
+++ b/x11-wm/bspwm/bspwm-0.9.10.ebuild
@@ -27,7 +27,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX=/usr DOCPREFIX="/usr/share/doc/${PF}" 
install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" install
 
        exeinto /etc/X11/Sessions
        newexe "${FILESDIR}"/${PN}-session ${PN}

diff --git a/x11-wm/bspwm/bspwm-0.9.9.ebuild b/x11-wm/bspwm/bspwm-0.9.9.ebuild
index 0a9a67c8829..de939e4ebc6 100644
--- a/x11-wm/bspwm/bspwm-0.9.9.ebuild
+++ b/x11-wm/bspwm/bspwm-0.9.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,11 +23,11 @@ RDEPEND="${DEPEND}
 "
 
 src_compile() {
-       emake PREFIX=/usr CC="$(tc-getCC)"
+       emake PREFIX="${EPREFIX}/usr" CC="$(tc-getCC)"
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX=/usr DOCPREFIX="/usr/share/doc/${PF}" 
install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" install
 
        exeinto /etc/X11/Sessions
        newexe "${FILESDIR}"/${PN}-session ${PN}

Reply via email to