diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-07 21:33:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-07 21:33:21 +0000 |
commit | 3035e250c3d7a79b3f5d0de48cc642b4d4752ad1 (patch) | |
tree | e29a378ec9cf6ed4f3133f862282f420bd523bb5 /usr.sbin | |
parent | 369a461e18abce9597c280f30e1126c1c831393b (diff) |
Nasty hack to add execute permission to helper scripts if they don't
have it. I don't think hacking apache's configure mechanism is the
correct approach for us, since it would just have to be redone for
every import (and it requires more than just changing Configure).
I don't think the read-only case is an issue since on a CD-ROM the
permissions should be correct (I believe it is only ctm that doesn't
update modes).
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/httpd/src/Makefile.bsd-wrapper | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/Makefile.bsd-wrapper b/usr.sbin/httpd/src/Makefile.bsd-wrapper index ab4fa85b978..b0a49b4a67e 100644 --- a/usr.sbin/httpd/src/Makefile.bsd-wrapper +++ b/usr.sbin/httpd/src/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.9 1998/11/06 20:42:05 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.10 1998/11/07 21:33:20 millert Exp $ .include <bsd.own.mk> PROG=httpd BINDIR=/usr/sbin @@ -19,6 +19,13 @@ config: .FORCE sh ${.CURDIR}/Configure -file ${.OBJDIR}/Configuration -make ${.CURDIR}/Makefile.tmpl Makefile: helpers/GuessOS + # This is a nasty hack + @for f in CutRule GuessOS MakeEtags PrintPath TestCompile buildinfo.sh \ + checkheader.sh findcpp.sh fmn.sh fp2rp install.sh mfhead mkdir.sh \ + mkshadow.sh ppl.sh slo.sh; do \ + test -x ${.CURDIR}/helpers/$$f || \ + chmod +x ${.CURDIR}/helpers/$$f ; \ + done PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ sh ${.CURDIR}/Configure -file ${.OBJDIR}/Configuration -make ${.CURDIR}/Makefile.tmpl |