blob: 0e2d51fb01eefb46feb5224cd47b334bcd868215 (
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
|
$NetBSD: patch-ab,v 1.5 2009/12/15 18:56:02 bouyer Exp $
--- cgi/Makefile.in.orig 2009-06-17 05:57:21.000000000 +0200
+++ cgi/Makefile.in 2009-12-15 16:54:45.000000000 +0100
@@ -15,7 +15,7 @@
LOGDIR=@localstatedir@
CFGDIR=@sysconfdir@
BINDIR=@bindir@
-CGIDIR=@sbindir@
+CGIDIR=@libexecdir@/cgi-bin
HTMLDIR=@datarootdir@
INSTALL=@INSTALL@
INSTALL_OPTS=@INSTALL_OPTS@
@@ -196,9 +196,9 @@
$(MAKE) install-basic
install-basic:
- $(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); \
+ $(BSD_INSTALL_SCRIPT) $$file $(DESTDIR)$(CGIDIR); \
done
strip-post-install:
|