summaryrefslogtreecommitdiff
path: root/Mk/bsd.apache.mk
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-09-20 18:25:52 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-09-20 18:25:52 +0000
commit6637fa56fe99916c55c856beb745128c2eacfafd (patch)
tree72caabbffc36f38e49759be3201d5a4210f6b139 /Mk/bsd.apache.mk
parent- Update to checkin 7a6500c64b (diff)
- fix issue in case no module is specified
Noted by: Adam McDougall
Notes
Notes: svn path=/head/; revision=304590
Diffstat (limited to 'Mk/bsd.apache.mk')
-rw-r--r--Mk/bsd.apache.mk6
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)