diff options
author | tron <tron@pkgsrc.org> | 1999-06-05 20:32:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-06-05 20:32:17 +0000 |
commit | d083ed1568b1a85f5f8eb05857ddf74dd625385d (patch) | |
tree | 1d9552d3abac05b805a4ae028a8c41db607d9d43 | |
parent | 382c2189ecd3e517d363990d2fa1d14f50165c33 (diff) | |
download | pkgsrc-d083ed1568b1a85f5f8eb05857ddf74dd625385d.tar.gz |
Fix build when suexec feature is not activated.
-rw-r--r-- | www/apache/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile index f7b92cc7d46..45001f239b0 100644 --- a/www/apache/Makefile +++ b/www/apache/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 1999/05/11 20:26:23 tron Exp $ +# $NetBSD: Makefile,v 1.35 1999/06/05 20:32:17 tron Exp $ # # The fourth number in the PKGNAME version indicates a NetBSD pkg revision # (to indicate changes in the shipped third party patches such as the mod_ssl @@ -90,7 +90,9 @@ post-install: ${MKDIR} ${PREFIX}/lib/httpd @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} .for FILE in man/man8/suexec.8 sbin/suexec - @${TEST} -e ${PREFIX}/${FILE} && ${ECHO} ${FILE} >>${PLIST_SRC} + @if [ -e ${PREFIX}/${FILE} ]; then \ + ${ECHO} ${FILE} >>${PLIST_SRC}; \ + fi .endfor .include "../../mk/bsd.pkg.mk" |