summaryrefslogtreecommitdiff
path: root/system/zarfy/patch-makefile-in
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2015-02-01 00:23:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-01 00:23:37 +0700
commitdc81844ff9d70d514ed1eb7620e06203ca4ca6ee (patch)
tree96726fee968f51efa393f3205806a9a4d61c8968 /system/zarfy/patch-makefile-in
parent7c7af4dc156231b6e1b16f49f28a2be8d4ae3089 (diff)
downloadslackbuilds-dc81844ff9d70d514ed1eb7620e06203ca4ca6ee.tar.gz
system/zarfy: Fix build outside /tmp/SBo.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/zarfy/patch-makefile-in')
-rw-r--r--system/zarfy/patch-makefile-in34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/zarfy/patch-makefile-in b/system/zarfy/patch-makefile-in
new file mode 100644
index 0000000000..44c98da60f
--- /dev/null
+++ b/system/zarfy/patch-makefile-in
@@ -0,0 +1,34 @@
+--- Makefile.in.orig 2008-09-13 06:05:07.000000000 -0700
++++ Makefile.in 2015-01-26 08:13:00.780325974 -0800
+@@ -612,24 +612,24 @@
+
+ install-data-local:
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(pkgdatadir); \
++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
+ for fname in data/*; do \
+ if test -f $$fname; then \
+- $(INSTALL_DATA) $$fname $(pkgdatadir); \
++ $(INSTALL_DATA) $$fname $(DESTDIR)$(pkgdatadir); \
+ fi \
+ done;
+- $(mkinstalldirs) $(mandir)/man1; \
+- $(INSTALL_DATA) man/zarfy.1.gz $(mandir)/man1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1; \
++ $(INSTALL_DATA) man/zarfy.1.gz $(DESTDIR)$(mandir)/man1
+
+ uninstall-local:
+ @$(NORMAL_UNINSTALL)
+- for fname in $(pkgdatadir)/*; do \
++ for fname in $(DESTDIR)$(pkgdatadir)/*; do \
+ if test -f $$fname; then \
+ rm $$fname; \
+ fi \
+ done; \
+- rmdir $(pkgdatadir); \
+- rm $(mandir)/man1/zarfy.*
++ rmdir $(DESTDIR)$(pkgdatadir); \
++ rm $(DESTDIR)$(mandir)/man1/zarfy.*
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: