$NetBSD: patch-utils_Makefile,v 1.1.1.1 2016/10/25 08:17:05 jnemeth Exp $ --- utils/Makefile.orig 2015-10-09 21:48:48.000000000 +0000 +++ utils/Makefile @@ -41,6 +41,10 @@ ifeq ($(OSARCH),SunOS) UTILS:=$(filter-out muted,$(UTILS)) endif +ifeq ($(OSARCH),NetBSD) + UTILS:=$(filter-out muted,$(UTILS)) +endif + ifeq ($(OSARCH),OpenBSD) UTILS:=$(filter-out muted,$(UTILS)) endif @@ -75,7 +79,7 @@ all: $(UTILS) install: for x in $(UTILS); do \ if [ "$$x" != "none" ]; then \ - $(INSTALL) -m 755 $$x "$(DESTDIR)$(ASTSBINDIR)/$$x"; \ + $(BSD_INSTALL_PROGRAM) -m 755 $$x "$(DESTDIR)$(ASTSBINDIR)/$$x"; \ fi; \ done