$NetBSD: patch-Makefile,v 1.2 2016/09/04 12:40:24 wiz Exp $ Enable install target for NetBSD. https://github.com/facebook/zstd/pull/338 --- Makefile.orig 2016-09-04 12:01:55.355932317 +0000 +++ Makefile @@ -51,7 +51,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 FreeBSD DragonFly)) +ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD)) HOST_OS = POSIX install: $(MAKE) -C $(ZSTDDIR) $@