diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-05-14 19:07:52 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-05-14 19:07:52 +0000 |
commit | 6f88e1162383eef1e8d9511a0e0f3e7151489491 (patch) | |
tree | fa031ba03c972de69d5fb54af641cde49d815e4f /www/apache13-modssl | |
parent | 1dfc94970f318297b85e968970ad6fa29067431c (diff) | |
download | ports-6f88e1162383eef1e8d9511a0e0f3e7151489491.tar.gz ports-6f88e1162383eef1e8d9511a0e0f3e7151489491.zip |
- move USE_RC_SUBR before bsd.port.pre.mk
Notes
Notes:
svn path=/head/; revision=109158
Diffstat (limited to 'www/apache13-modssl')
-rw-r--r-- | www/apache13-modssl/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile index 28bd057dd61a..8d1250050f52 100644 --- a/www/apache13-modssl/Makefile +++ b/www/apache13-modssl/Makefile @@ -55,6 +55,10 @@ MODACCEL_FILE= mod_accel-${VERSION_MODACCEL}${EXTRACT_SUFX} MODDEFLATE_FILE= mod_deflate-${VERSION_MODDEFLATE}${EXTRACT_SUFX} RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +.if !defined(WITHOUT_RC_SUBR) +USE_RC_SUBR= yes +.endif + .include <bsd.port.pre.mk> DATADIR= ${PREFIX}/www @@ -68,11 +72,10 @@ check-depends:: @${FALSE} .endif -.if !exists(${PREFIX}/etc/rc.d/apache.sh) && !defined(WITHOUT_RC_SUBR) -USE_RC_SUBR= yes -PLIST_FILES+= etc/rc.d/apache.sh -.else +.if exists(${PREFIX}/etc/rc.d/apache.sh) PLIST_FILES+= etc/rc.d/apache.sh.sample +.else +PLIST_FILES+= etc/rc.d/apache.sh .endif .if defined(WITH_APACHE_SUEXEC) && ${WITH_APACHE_SUEXEC} == yes |