summaryrefslogtreecommitdiff
path: root/comms/asterisk18/patches/patch-utils_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk18/patches/patch-utils_Makefile')
-rw-r--r--comms/asterisk18/patches/patch-utils_Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-utils_Makefile b/comms/asterisk18/patches/patch-utils_Makefile
new file mode 100644
index 00000000000..55ad3ec11e5
--- /dev/null
+++ b/comms/asterisk18/patches/patch-utils_Makefile
@@ -0,0 +1,24 @@
+$NetBSD: patch-utils_Makefile,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $
+
+--- utils/Makefile.orig 2018-05-01 20:12:26.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) $$x "$(DESTDIR)$(ASTSBINDIR)/$$x"; \
+ fi; \
+ done
+