diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2012-09-20 18:25:52 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2012-09-20 18:25:52 +0000 |
commit | 6637fa56fe99916c55c856beb745128c2eacfafd (patch) | |
tree | 72caabbffc36f38e49759be3201d5a4210f6b139 /Mk | |
parent | ac43985540199ad83eb3a3d3064c55b8cb234cd2 (diff) | |
download | ports-6637fa56fe99916c55c856beb745128c2eacfafd.tar.gz ports-6637fa56fe99916c55c856beb745128c2eacfafd.zip |
- fix issue in case no module is specified
Noted by: Adam McDougall
Notes
Notes:
svn path=/head/; revision=304590
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.apache.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk index df6aa1c47888..c725fffbd932 100644 --- a/Mk/bsd.apache.mk +++ b/Mk/bsd.apache.mk @@ -423,6 +423,7 @@ print-closest-mirrors: .if !target(show-modules) show-modules: +.if !empty(APACHE_MODULES) .for module in ${AVAILABLE_MODULES} @${PRINTF} "%-20s : " ${module} . if ${APACHE_MODULES:M${module}} @@ -436,6 +437,11 @@ show-modules: @${ECHO_CMD} disabled . endif .endfor +.else +.for module in ${AVAILABLE_MODULES} + @${PRINTF} "%-20s : disabled\n" ${module} +.endfor +.endif .endif .elif defined(AP_PORT_IS_MODULE) |