diff options
author | tron <tron> | 1999-06-05 20:32:17 +0000 |
---|---|---|
committer | tron <tron> | 1999-06-05 20:32:17 +0000 |
commit | d1e04cb4960e9cc0dd7a02c2808a541434de15a2 (patch) | |
tree | 1d9552d3abac05b805a4ae028a8c41db607d9d43 /www | |
parent | 71724cce98d5dea507b75d7d603240b26727828d (diff) | |
download | pkgsrc-d1e04cb4960e9cc0dd7a02c2808a541434de15a2.tar.gz |
Fix build when suexec feature is not activated.
Diffstat (limited to 'www')
-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" |