Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 14:14:21 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375786 - head/Mk
Message-ID:  <201412291414.sBTEEL5d059603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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