summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2019-10-30 21:51:04 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-11-18 23:30:41 +0000
commitbf37fc7848e3369526f28fa199247173b014e120 (patch)
tree4b853b3342283ed07f93acca8be279172f391d61 /dev-embedded/xa/files
parentdev-vcs/tig: drop myself as a maintainer (diff)
downloadgentoo-bf37fc7848e3369526f28fa199247173b014e120.tar.gz
gentoo-bf37fc7848e3369526f28fa199247173b014e120.tar.bz2
gentoo-bf37fc7848e3369526f28fa199247173b014e120.zip
dev-embedded/xa: New package
Thanks to doj@cubic.org. Bug: https://bugs.gentoo.org/686234 Bug: https://github.com/gentoo/gentoo/pull/13504 Signed-off-by: David Heidelberg <david@ixit.cz> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-embedded/xa/files')
-rw-r--r--dev-embedded/xa/files/xa-2.3.9-Makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-embedded/xa/files/xa-2.3.9-Makefile.patch b/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
new file mode 100644
index 000000000000..d8db42615989
--- /dev/null
+++ b/dev-embedded/xa/files/xa-2.3.9-Makefile.patch
@@ -0,0 +1,18 @@
+--- a/Makefile.orig 2019-05-18 09:07:31.331089966 -0700
++++ b/Makefile 2019-05-18 09:10:15.274673364 -0700
+@@ -17,11 +17,11 @@
+ #CFLAGS =
+ #LD = ld
+
+-DESTDIR = /usr/local
++PREFIX ?= /usr
+
+-BINDIR = $(DESTDIR)/bin
+-MANDIR = $(DESTDIR)/share/man/man1
+-DOCDIR = $(DESTDIR)/share/doc
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
++MANDIR = $(DESTDIR)/$(PREFIX)/share/man/man1
++DOCDIR = $(DESTDIR)/$(PREFIX)/share/doc
+
+ MKDIR = mkdir -p
+ INSTALL = install