commit:     4d49bc35a8ba636556dacee3d2a62036d378aa70
Author:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
AuthorDate: Thu Feb 18 10:13:49 2021 +0000
Commit:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
CommitDate: Thu Feb 18 10:13:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d49bc35

gui-wm/dwl: fixed ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas <svdm-gentoo <AT> protonmail.com>

 gui-wm/dwl/dwl-0.2.ebuild             |  4 +++-
 gui-wm/dwl/files/dwl-0.2-prefix.patch | 11 -----------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/gui-wm/dwl/dwl-0.2.ebuild b/gui-wm/dwl/dwl-0.2.ebuild
index 415e0dd7..fbd1f983 100644
--- a/gui-wm/dwl/dwl-0.2.ebuild
+++ b/gui-wm/dwl/dwl-0.2.ebuild
@@ -15,4 +15,6 @@ DEPEND="gui-libs/wlroots
 dev-libs/wayland-protocols"
 RDEPEND="${DEPEND}"
 
-PATCHES=( "${FILESDIR}/${P}-prefix.patch" )
+src_install() {
+       emake PREFIX="${D}"/usr install
+}

diff --git a/gui-wm/dwl/files/dwl-0.2-prefix.patch 
b/gui-wm/dwl/files/dwl-0.2-prefix.patch
deleted file mode 100644
index 3020247b..00000000
--- a/gui-wm/dwl/files/dwl-0.2-prefix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/config.mk b/config.mk
-index cd4e821..bdb2687 100644
---- a/config.mk
-+++ b/config.mk
-@@ -1,5 +1,5 @@
- # paths
--PREFIX = /usr/local
-+PREFIX = /var/tmp/portage/gui-wm/dwl-0.2/image
-
- # Default compile flags (overridable by environment)
- CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare 
-Wno-unused-function -Wno-unused-variable -Wdeclaration-after-statement

Reply via email to