summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-01 22:43:16 -0600
committerSam James <sam@gentoo.org>2023-10-27 04:21:21 +0100
commite71c42aa6188ee0d36407e99bf0dc5a2fa86bdaa (patch)
tree6857b20623efa8991d2ca25dad35e2df59169e33
parentdev-libs/bemenu: add 0.6.16 (diff)
downloadgentoo-e71c42aa6188ee0d36407e99bf0dc5a2fa86bdaa.tar.gz
gentoo-e71c42aa6188ee0d36407e99bf0dc5a2fa86bdaa.tar.bz2
gentoo-e71c42aa6188ee0d36407e99bf0dc5a2fa86bdaa.zip
dev-libs/bemenu: fix install on Prefix
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-libs/bemenu/bemenu-0.6.16.ebuild6
-rw-r--r--dev-libs/bemenu/bemenu-9999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/bemenu/bemenu-0.6.16.ebuild b/dev-libs/bemenu/bemenu-0.6.16.ebuild
index 74a5e8c07a56..c7057c9c08a7 100644
--- a/dev-libs/bemenu/bemenu-0.6.16.ebuild
+++ b/dev-libs/bemenu/bemenu-0.6.16.ebuild
@@ -53,10 +53,10 @@ BDEPEND="
src_compile() {
tc-export CC
- emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
- use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
+ emake clients $(usev ncurses curses) $(usev X x11) $(usev wayland) PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
+ use doc && emake doxygen PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
}
src_install() {
- emake install PREFIX="${D}"/usr libdir=/$(get_libdir)
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
}
diff --git a/dev-libs/bemenu/bemenu-9999.ebuild b/dev-libs/bemenu/bemenu-9999.ebuild
index 74a5e8c07a56..c7057c9c08a7 100644
--- a/dev-libs/bemenu/bemenu-9999.ebuild
+++ b/dev-libs/bemenu/bemenu-9999.ebuild
@@ -53,10 +53,10 @@ BDEPEND="
src_compile() {
tc-export CC
- emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
- use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
+ emake clients $(usev ncurses curses) $(usev X x11) $(usev wayland) PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
+ use doc && emake doxygen PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
}
src_install() {
- emake install PREFIX="${D}"/usr libdir=/$(get_libdir)
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}"/usr libdir=/$(get_libdir)
}