mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
28 lines
804 B
Plaintext
28 lines
804 B
Plaintext
$NetBSD: patch-cgi_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $
|
|
|
|
Adjustments to build procedure.
|
|
|
|
--- cgi/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000
|
|
+++ cgi/Makefile.in
|
|
@@ -15,7 +15,7 @@ exec_prefix=@exec_prefix@
|
|
LOGDIR=@localstatedir@
|
|
CFGDIR=@sysconfdir@
|
|
BINDIR=@bindir@
|
|
-CGIDIR=@sbindir@
|
|
+CGIDIR=@libexecdir@/cgi-bin
|
|
HTMLDIR=@datarootdir@
|
|
INSTALL=@INSTALL@
|
|
INSTALL_OPTS=@INSTALL_OPTS@
|
|
@@ -201,9 +201,9 @@ install-unstripped:
|
|
$(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:
|