svn commit: r358699 - head/Mk

Olli Hauer ohauer at FreeBSD.org
Sat Jun 21 13:29:31 UTC 2014


Author: ohauer
Date: Sat Jun 21 13:29:30 2014
New Revision: 358699
URL: http://svnweb.freebsd.org/changeset/ports/358699
QAT: https://qat.redports.org/buildarchive/r358699/

Log:
  - strip optional WITH parameter from argument if OPTION is set to off
  
    FOO_WITH=	foo=bar
  
    CONFIGURE_ARGS will become now
    ON:	--with-foo=bar
    OFF:	--without-foo
  
  PR:		191085
  Submitted by:	ohauer
  Approved by:	portmgr (antoine)

Modified:
  head/Mk/bsd.options.mk

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Sat Jun 21 13:20:29 2014	(r358698)
+++ head/Mk/bsd.options.mk	Sat Jun 21 13:29:30 2014	(r358699)
@@ -467,7 +467,7 @@ CONFIGURE_ARGS+=	--disable-${iopt}
 .    endif
 .    if defined(${opt}_CONFIGURE_WITH)
 .      for iopt in ${${opt}_CONFIGURE_WITH}
-CONFIGURE_ARGS+=	--without-${iopt}
+CONFIGURE_ARGS+=	--without-${iopt:C/=.*//}
 .      endfor
 .    endif
 .    for configure in CONFIGURE CMAKE QMAKE


More information about the svn-ports-head mailing list