summaryrefslogtreecommitdiff
path: root/comms/asterisk16/patches/patch-af
blob: f494a0aa420536835eebddf0a9003eabff726b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-af,v 1.1.1.1 2009/06/12 09:04:57 jnemeth Exp $

Index: utils/Makefile
===================================================================
--- utils/Makefile.orig	2008-11-26 11:18:53.000000000 -0800
+++ utils/Makefile
@@ -30,6 +30,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
@@ -64,7 +68,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