diff options
author | jlam <jlam> | 2001-01-14 05:58:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-01-14 05:58:01 +0000 |
commit | ff08865cd5d41801a003faf834495a1bcd21d945 (patch) | |
tree | 9b83b4c198c7895bd6e9157ef5a430ca6cde352e /www/apache/patches/patch-aa | |
parent | f0a1a4ee618c9624f6aad151ff1ad645ba1fa38a (diff) | |
download | pkgsrc-ff08865cd5d41801a003faf834495a1bcd21d945.tar.gz |
Install cgi-bin scripts with executable bit set.
Diffstat (limited to 'www/apache/patches/patch-aa')
-rw-r--r-- | www/apache/patches/patch-aa | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/www/apache/patches/patch-aa b/www/apache/patches/patch-aa index 609648fedbd..d3dd97ff72e 100644 --- a/www/apache/patches/patch-aa +++ b/www/apache/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.12 2000/09/12 14:17:32 jlam Exp $ +$NetBSD: patch-aa,v 1.13 2001/01/14 05:58:01 jlam Exp $ ---- Makefile.tmpl.orig Thu Sep 7 01:19:50 2000 -+++ Makefile.tmpl +--- Makefile.tmpl.orig Sun Jan 14 00:43:01 2001 ++++ Makefile.tmpl Sun Jan 14 00:48:35 2001 @@ -382,34 +382,6 @@ file=`echo $${mod} | sed -e 's;^.*/\([^/]*\);\1;'`; \ echo "$(INSTALL_DSO) $(TOP)/$(SRC)/$${mod} $(root)$(libexecdir)/$${file}"; \ @@ -37,7 +37,7 @@ $NetBSD: patch-aa,v 1.12 2000/09/12 14:17:32 jlam Exp $ done; \ fi @echo "<=== [programs]" -@@ -535,12 +507,13 @@ +@@ -535,15 +507,16 @@ find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \ find $(root)$(htdocsdir)/ -type f -exec chmod a+r {} \; ; \ fi @@ -50,8 +50,13 @@ $NetBSD: patch-aa,v 1.12 2000/09/12 14:17:32 jlam Exp $ sed -e 's;^#!/.*perl;#!$(PERL);' \ + -e 's;LD_LIBRARY_PATH=.*;LD_LIBRARY_PATH=/usr/lib:$(prefix)/lib:/usr/local/lib;' \ > $(TOP)/$(SRC)/.apaci.install.tmp; \ - echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir)/$${script}"; \ - $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir)/$${script}; \ +- echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir)/$${script}"; \ +- $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir)/$${script}; \ ++ echo "$(INSTALL_SCRIPT) $(TOP)/conf/$${script}[*] $(root)$(cgidir)/$${script}"; \ ++ $(INSTALL_SCRIPT) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir)/$${script}; \ + done; \ + fi + @echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \ @@ -557,7 +530,7 @@ # and initial config files while preserving existing ones. install-config: |