summaryrefslogtreecommitdiff
path: root/chat/dccserver/patches/patch-aa
blob: ce835ac0501675b050d3c11fc30f631c2bff11c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1 2009/02/15 18:49:54 wiz Exp $

--- Makefile.in.orig	2003-11-02 00:06:24.000000000 +0000
+++ Makefile.in
@@ -696,8 +696,8 @@ uninstall-man: uninstall-man1
 
 
 install-exec-hook:
-	@(chown root $(bindir)/dccserver && \
-		chmod u+s $(bindir)/dccserver && \
+	@(chown root $(DESTDIR)$(bindir)/dccserver && \
+		chmod u+s $(DESTDIR)$(bindir)/dccserver && \
 		echo NOTE: dccserver has been installed setuid root.) || \
 	echo dccserver NOT installed setuid root.
 # Tell versions [3.59,3.63) of GNU make to not export all variables.