summaryrefslogtreecommitdiff
path: root/comms/asterisk10/patches/patch-utils_Makefile
blob: 4e269e15cd9dcd83c90f471b103d0840f4915be1 (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
$NetBSD: patch-utils_Makefile,v 1.1.1.1 2012/01/15 18:36:21 jnemeth Exp $

--- utils/Makefile.orig	2011-10-10 22:38:06.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