summaryrefslogtreecommitdiff
path: root/archivers/zstd/patches/patch-programs_Makefile
blob: 72750a3b263b41b9b1c7dba4b1b5e0db79dd43fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-programs_Makefile,v 1.1 2016/09/04 12:36:59 wiz Exp $

Enable install target for NetBSD.

--- 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)/