summaryrefslogtreecommitdiff
path: root/archivers/zstd/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zstd/patches/patch-Makefile')
-rw-r--r--archivers/zstd/patches/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
new file mode 100644
index 00000000000..beb98c7f301
--- /dev/null
+++ b/archivers/zstd/patches/patch-Makefile
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile,v 1.4 2017/04/20 13:45:52 jperkin Exp $
+
+Enable the "install" target on all OS.
+
+--- Makefile.orig 2017-03-16 00:31:40.000000000 +0000
++++ Makefile
+@@ -104,7 +104,6 @@ clean:
+ #------------------------------------------------------------------------------
+ # make install is validated only for Linux, OSX, Hurd and some BSD targets
+ #------------------------------------------------------------------------------
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD))
+ HOST_OS = POSIX
+ .PHONY: install uninstall travis-install clangtest gpptest armtest usan asan uasan
+
+@@ -258,7 +257,6 @@ gpp6install: apt-add-repo
+ clang38install:
+ APT_PACKAGES="clang-3.8" $(MAKE) apt-install
+
+-endif
+
+
+ ifneq (,$(filter MSYS%,$(shell uname)))