17 lines
809 B
Plaintext
17 lines
809 B
Plaintext
$NetBSD: patch-programs_Makefile,v 1.2 2016/09/04 12:40:24 wiz Exp $
|
|
|
|
Enable install target for NetBSD.
|
|
https://github.com/facebook/zstd/pull/338
|
|
|
|
--- programs/Makefile.orig 2016-08-31 16:09:10.000000000 +0000
|
|
+++ programs/Makefile
|
|
@@ -125,7 +125,7 @@ clean:
|
|
#----------------------------------------------------------------------------------
|
|
#make install is validated only for Linux, OSX, kFreeBSD, Hurd and some BSD targets
|
|
#----------------------------------------------------------------------------------
|
|
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly))
|
|
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD))
|
|
install: zstd
|
|
@echo Installing binaries
|
|
@install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/
|