summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2021-06-11 09:18:56 +0200
committerGuilherme Amadio <amadio@gentoo.org>2021-06-11 09:18:56 +0200
commit9710b055febb9354403dfc2f21ee8a5197de8a99 (patch)
treeb411d207a27ac278bd9a7af003d02375abedeae6 /x11-wm
parentnet-mail/b4: bump to 0.7.2 (diff)
downloadgentoo-9710b055febb9354403dfc2f21ee8a5197de8a99.tar.gz
gentoo-9710b055febb9354403dfc2f21ee8a5197de8a99.tar.bz2
gentoo-9710b055febb9354403dfc2f21ee8a5197de8a99.zip
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@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/bspwm/bspwm-0.9.10.ebuild2
-rw-r--r--x11-wm/bspwm/bspwm-0.9.9.ebuild6
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 b56b16b16c08..84e87f407073 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 0a9a67c88299..de939e4ebc65 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}