summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-03-29 10:44:26 -0500
committerBen Kohler <bkohler@gentoo.org>2021-03-29 10:44:41 -0500
commit0aec0bf3d6a07816e9d909442aee77f73da835a7 (patch)
treead4ee17dfe98c16bc038ea5405a2d7bcde7c68f0 /x11-wm
parentnet-voip/sipvicious: fix style (diff)
downloadgentoo-0aec0bf3d6a07816e9d909442aee77f73da835a7.tar.gz
gentoo-0aec0bf3d6a07816e9d909442aee77f73da835a7.tar.bz2
gentoo-0aec0bf3d6a07816e9d909442aee77f73da835a7.zip
x11-wm/spectrwm: restore prefix support (better than before)
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/spectrwm/0001-net-wireless-iwd-fix-one-last-COMMON_DEPEND-usage.patch28
-rw-r--r--x11-wm/spectrwm/foo.patch29
-rw-r--r--x11-wm/spectrwm/spectrwm-3.4.1.ebuild6
3 files changed, 60 insertions, 3 deletions
diff --git a/x11-wm/spectrwm/0001-net-wireless-iwd-fix-one-last-COMMON_DEPEND-usage.patch b/x11-wm/spectrwm/0001-net-wireless-iwd-fix-one-last-COMMON_DEPEND-usage.patch
new file mode 100644
index 000000000000..2766a34a6ba8
--- /dev/null
+++ b/x11-wm/spectrwm/0001-net-wireless-iwd-fix-one-last-COMMON_DEPEND-usage.patch
@@ -0,0 +1,28 @@
+From e98e032462cb92d9871ec2fc3ac417cec5cc7f97 Mon Sep 17 00:00:00 2001
+From: Ben Kohler <bkohler@gentoo.org>
+Date: Mon, 29 Mar 2021 09:38:24 -0500
+Subject: [PATCH] net-wireless/iwd: fix one last COMMON_DEPEND usage
+
+Closes: https://bugs.gentoo.org/779091
+Package-Manager: Portage-3.0.18, Repoman-3.0.3
+Signed-off-by: Ben Kohler <bkohler@gentoo.org>
+---
+ net-wireless/iwd/iwd-1.13.ebuild | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/net-wireless/iwd/iwd-1.13.ebuild b/net-wireless/iwd/iwd-1.13.ebuild
+index 438b2aa425c..709afebddeb 100644
+--- a/net-wireless/iwd/iwd-1.13.ebuild
++++ b/net-wireless/iwd/iwd-1.13.ebuild
+@@ -29,7 +29,7 @@ DEPEND="
+ client? ( sys-libs/readline:0= )
+ "
+
+-[[ -z "${ELL_REQ}" ]] || COMMON_DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
++[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
+
+ RDEPEND="
+ ${DEPEND}
+--
+2.31.1
+
diff --git a/x11-wm/spectrwm/foo.patch b/x11-wm/spectrwm/foo.patch
new file mode 100644
index 000000000000..33bf233d1a90
--- /dev/null
+++ b/x11-wm/spectrwm/foo.patch
@@ -0,0 +1,29 @@
+commit 00522598eab59b612c7ba31b77deb4258c8af009
+Author: Ben Kohler <bkohler@gentoo.org>
+Date: Mon Mar 29 09:06:33 2021 -0500
+
+ x11-wm/spectrwm: remove incorrect EROOT usage
+
+ Package-Manager: Portage-3.0.18, Repoman-3.0.3
+ Signed-off-by: Ben Kohler <bkohler@gentoo.org>
+
+diff --git a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
+index 3b826527316..3b297f77149 100644
+--- a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
++++ b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
+@@ -36,12 +36,12 @@ src_prepare() {
+
+ src_compile() {
+ tc-export CC PKG_CONFIG
+- emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)"
++ emake -C linux PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
+ }
+
+ src_install() {
+- emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)" \
+- SYSCONFDIR="${EROOT}/etc" DOCDIR="${EROOT}/usr/share/doc/${P}" \
++ emake -C linux PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \
++ SYSCONFDIR="/etc" DOCDIR="/usr/share/doc/${P}" \
+ DESTDIR="${D}" install
+
+ dodoc README.md ${PN}_*.conf {initscreen,screenshot}.sh
diff --git a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
index 3b297f771499..cbe7e0eeebdf 100644
--- a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
+++ b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild
@@ -36,12 +36,12 @@ src_prepare() {
src_compile() {
tc-export CC PKG_CONFIG
- emake -C linux PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
+ emake -C linux PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}
src_install() {
- emake -C linux PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \
- SYSCONFDIR="/etc" DOCDIR="/usr/share/doc/${P}" \
+ emake -C linux PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ SYSCONFDIR="${EPREFIX}/etc" DOCDIR="${EPREFIX}/usr/share/doc/${P}" \
DESTDIR="${D}" install
dodoc README.md ${PN}_*.conf {initscreen,screenshot}.sh