summary refs log tree commit diff
path: root/x11-misc/xlocatemouse/files/xlocatemouse-20.05-makefile.patch
blob: fb4a6196700d0e6914f6112df8bca53d07db7219 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/Makefile b/Makefile
index 11eedbb..fdfa277 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,8 @@ INSTALL = install
 INSTALL_PROGRAM = $(INSTALL)
 INSTALL_DATA = $(INSTALL) -m 644
 
-prefix = /usr/local
-exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
-datarootdir = $(prefix)/share
+bindir = $(PREFIX)/bin
+datarootdir = $(PREFIX)/share
 mandir = $(datarootdir)/man
 man1dir = $(mandir)/man1
 

Consider giving Nix/NixOS a try! <3