From f0dd0508d73c54ac8424c4450075c10fb72baaea Mon Sep 17 00:00:00 2001 From: Casey Avila Date: Mon, 25 Jan 2021 10:31:57 -0800 Subject: x11-misc/xlocatemouse: Add package Signed-off-by: Casey Avila --- .../files/xlocatemouse-20.05-makefile.patch | 17 +++++++++++++++++ .../xlocatemouse/files/xlocatemouse-9999-makefile.patch | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 x11-misc/xlocatemouse/files/xlocatemouse-20.05-makefile.patch create mode 100644 x11-misc/xlocatemouse/files/xlocatemouse-9999-makefile.patch (limited to 'x11-misc/xlocatemouse/files') diff --git a/x11-misc/xlocatemouse/files/xlocatemouse-20.05-makefile.patch b/x11-misc/xlocatemouse/files/xlocatemouse-20.05-makefile.patch new file mode 100644 index 0000000..fb4a619 --- /dev/null +++ b/x11-misc/xlocatemouse/files/xlocatemouse-20.05-makefile.patch @@ -0,0 +1,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 + diff --git a/x11-misc/xlocatemouse/files/xlocatemouse-9999-makefile.patch b/x11-misc/xlocatemouse/files/xlocatemouse-9999-makefile.patch new file mode 100644 index 0000000..fb4a619 --- /dev/null +++ b/x11-misc/xlocatemouse/files/xlocatemouse-9999-makefile.patch @@ -0,0 +1,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 + -- cgit 1.4.1