From owner-svn-ports-all@freebsd.org Tue Dec 29 16:19:56 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95C35A54E12; Tue, 29 Dec 2015 16:19:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 636CA1A19; Tue, 29 Dec 2015 16:19:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBTGJt0O090419; Tue, 29 Dec 2015 16:19:55 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBTGJtI1090418; Tue, 29 Dec 2015 16:19:55 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201512291619.tBTGJtI1090418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 29 Dec 2015 16:19:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404759 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 16:19:56 -0000 Author: mat Date: Tue Dec 29 16:19:55 2015 New Revision: 404759 URL: https://svnweb.freebsd.org/changeset/ports/404759 Log: Remove unneeded .for loops. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D4484 Modified: head/Mk/bsd.options.mk Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Tue Dec 29 16:11:00 2015 (r404758) +++ head/Mk/bsd.options.mk Tue Dec 29 16:19:55 2015 (r404759) @@ -499,14 +499,10 @@ ${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^= . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) -. for iopt in ${${opt}_CONFIGURE_ENABLE} -CONFIGURE_ARGS+= --enable-${iopt} -. endfor +CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:C/^/--enable-/} . endif . if defined(${opt}_CONFIGURE_WITH) -. for iopt in ${${opt}_CONFIGURE_WITH} -CONFIGURE_ARGS+= --with-${iopt} -. endfor +CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--with-/} . endif . for configure in CONFIGURE CMAKE QMAKE . if defined(${opt}_${configure}_ON) @@ -547,14 +543,10 @@ ${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) -. for iopt in ${${opt}_CONFIGURE_ENABLE} -CONFIGURE_ARGS+= --disable-${iopt:C/=.*//} -. endfor +CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--disable-/:C/=.*//} . endif . if defined(${opt}_CONFIGURE_WITH) -. for iopt in ${${opt}_CONFIGURE_WITH} -CONFIGURE_ARGS+= --without-${iopt:C/=.*//} -. endfor +CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--without-/:C/=.*//} . endif . for configure in CONFIGURE CMAKE QMAKE . if defined(${opt}_${configure}_OFF)