Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2012 18:25:52 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304590 - head/Mk
Message-ID:  <201209201825.q8KIPqaO069875@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Thu Sep 20 18:25:52 2012
New Revision: 304590
URL: http://svn.freebsd.org/changeset/ports/304590

Log:
  - fix issue in case no module is specified
  
  Noted by: Adam McDougall

Modified:
  head/Mk/bsd.apache.mk

Modified: head/Mk/bsd.apache.mk
==============================================================================
--- head/Mk/bsd.apache.mk	Thu Sep 20 17:57:46 2012	(r304589)
+++ head/Mk/bsd.apache.mk	Thu Sep 20 18:25:52 2012	(r304590)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209201825.q8KIPqaO069875>