summaryrefslogtreecommitdiff
path: root/comms/snooper/patches/patch-ac
blob: ac6bb0990e1268fd8b342645b5d89b0634b03e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2009/12/17 21:43:17 abs Exp $

--- build/Makefile.in.orig	1998-08-12 14:31:56.000000000 +0000
+++ build/Makefile.in
@@ -29,8 +29,8 @@ depend:
 	mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c
 
 install:
-	[ -d $(bindir) ] || (mkdir $(bindir))
-	$(INSTALL) -s -o uucp -g bin -m 4555 snooper $(bindir)
+	[ -d $(DESTDIR)$(bindir) ] || (mkdir $(DESTDIR)$(bindir))
+	$(INSTALL) -s -o uucp -g bin -m 4555 snooper $(DESTDIR)$(bindir)
 
 clean:
 	-rm -f *.o *.core