mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- move USE_RC_SUBR before bsd.port.pre.mk
This commit is contained in:
parent
1dfc94970f
commit
6f88e11623
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109158
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user