summaryrefslogtreecommitdiff
path: root/www/thttpd/patches/patch-ac
blob: 47139e1f23f12566d7d61fe912d2f5873d5f7fd4 (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
27
28
29
30
31
32
33
34
$NetBSD: patch-ac,v 1.4 2000/12/17 22:21:45 jlam Exp $

--- cgi-src/Makefile.in.orig	Tue Sep 26 16:20:14 2000
+++ cgi-src/Makefile.in
@@ -34,7 +34,7 @@
 CCOPT =		@V_CCOPT@
 DEFS =		@DEFS@
 INCLS =		-I..
-CFLAGS =	$(CCOPT) $(DEFS) $(INCLS)
+CFLAGS +=	$(CCOPT) $(DEFS) $(INCLS)
 LDFLAGS =	@LDFLAGS@ @V_STATICFLAG@
 LIBS =		@LIBS@
 NETLIBS =	@V_NETLIBS@
@@ -69,15 +69,15 @@
 install:	all
 	-mkdir $(CGIBINDIR)
 	rm -f $(CGIBINDIR)/redirect
-	cp redirect $(CGIBINDIR)/redirect
+	$(BSD_INSTALL_PROGRAM) redirect $(CGIBINDIR)/redirect
 	rm -f $(MANDIR)/man8/redirect.8
-	cp redirect.8 $(MANDIR)/man8/redirect.8
+	$(BSD_INSTALL_MAN) redirect.8 $(MANDIR)/man8/redirect.8
 	rm -f $(CGIBINDIR)/ssi
-	cp ssi $(CGIBINDIR)/ssi
+	$(BSD_INSTALL_MAN) ssi $(CGIBINDIR)/ssi
 	rm -f $(MANDIR)/man8/ssi.8
-	cp ssi.8 $(MANDIR)/man8/ssi.8
+	$(BSD_INSTALL_MAN) ssi.8 $(MANDIR)/man8/ssi.8
 	rm -f $(CGIBINDIR)/phf
-	cp phf $(CGIBINDIR)/phf
+	$(BSD_INSTALL_MAN) phf $(CGIBINDIR)/phf
 
 clean:
 	rm -f $(CLEANFILES)