svn commit: r304590 - head/Mk

Olli Hauer ohauer at FreeBSD.org
Thu Sep 20 18:25:53 UTC 2012


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)



More information about the svn-ports-all mailing list