diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-05-15 03:07:52 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-05-15 03:07:52 +0800 |
commit | df71cb932594b9d2bb0be9dc14cf74e251e91483 (patch) | |
tree | e61027af3c793311ee114ff543176498049bf38c /www/apache13-modssl | |
parent | f39c3d7b32f522541451fa5d03706042347564f1 (diff) | |
download | freebsd-ports-gnome-df71cb932594b9d2bb0be9dc14cf74e251e91483.tar.gz freebsd-ports-gnome-df71cb932594b9d2bb0be9dc14cf74e251e91483.tar.zst freebsd-ports-gnome-df71cb932594b9d2bb0be9dc14cf74e251e91483.zip |
- move USE_RC_SUBR before bsd.port.pre.mk
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 |