svn commit: r375786 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Mon Dec 29 14:14:21 UTC 2014


Author: mat
Date: Mon Dec 29 14:14:20 2014
New Revision: 375786
URL: https://svnweb.freebsd.org/changeset/ports/375786
QAT: https://qat.redports.org/buildarchive/r375786/

Log:
  Allow the use of opt_ENABLE= foo=/bar to work like opt_WITH.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/bsd.options.mk

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Mon Dec 29 12:21:46 2014	(r375785)
+++ head/Mk/bsd.options.mk	Mon Dec 29 14:14:20 2014	(r375786)
@@ -462,7 +462,7 @@ ${deptype}_DEPENDS+=	${${opt}_${deptype}
 .  else
 .    if defined(${opt}_CONFIGURE_ENABLE)
 .      for iopt in ${${opt}_CONFIGURE_ENABLE}
-CONFIGURE_ARGS+=	--disable-${iopt}
+CONFIGURE_ARGS+=	--disable-${iopt:C/=.*//}
 .      endfor
 .    endif
 .    if defined(${opt}_CONFIGURE_WITH)


More information about the svn-ports-head mailing list