33 lines
960 B
Text
33 lines
960 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2001/01/16 15:39:43 rh Exp $
|
|
|
|
--- cgi/Makefile.in.orig Sun Oct 29 23:43:53 2000
|
|
+++ cgi/Makefile.in
|
|
@@ -14,7 +14,7 @@
|
|
LOGDIR=@localstatedir@
|
|
CFGDIR=@sysconfdir@
|
|
BINDIR=@bindir@
|
|
-CGIDIR=@sbindir@
|
|
+CGIDIR=@libexecdir@/cgi-bin
|
|
HTMLDIR=@datadir@
|
|
INSTALL=@INSTALL@
|
|
INSTALL_OPTS=@INSTALL_OPTS@
|
|
@@ -24,7 +24,7 @@
|
|
|
|
CP=@CP@
|
|
CC=@CC@
|
|
-CFLAGS=@CFLAGS@ @DEFS@ -DNSCGI
|
|
+CFLAGS=@CFLAGS@ @DEFS@ -I${prefix}/include -DNSCGI
|
|
#CFLAGS=-O3 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -DHAVE_CONFIG_H -DNSCGI
|
|
LDFLAGS=@LDFLAGS@ @LIBS@
|
|
|
|
@@ -131,8 +131,8 @@
|
|
rm -f *~
|
|
|
|
install:
|
|
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
|
|
+ [ -d ${DESTDIR}${CGIDIR} ] || ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${CGIDIR}
|
|
for file in *.cgi; \
|
|
- do $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); done
|
|
+ do ${BSD_INSTALL_SCRIPT} $$file $(DESTDIR)$(CGIDIR); done
|
|
|
|
|