From owner-svn-ports-head@FreeBSD.ORG Thu Oct 3 13:32:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 88EECC1C; Thu, 3 Oct 2013 13:32:37 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7602E2535; Thu, 3 Oct 2013 13:32:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r93DWbnu084641; Thu, 3 Oct 2013 13:32:37 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r93DWbNq084640; Thu, 3 Oct 2013 13:32:37 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201310031332.r93DWbNq084640@svn.freebsd.org> From: Bryan Drewery Date: Thu, 3 Oct 2013 13:32:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329186 - 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 13:32:37 -0000 Author: bdrewery Date: Thu Oct 3 13:32:36 2013 New Revision: 329186 URL: http://svnweb.freebsd.org/changeset/ports/329186 Log: - Support {opt}_EXTRA_PATCHES Reviewed by: bapt With hat: portmgr Modified: head/Mk/bsd.options.mk Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Thu Oct 3 13:31:42 2013 (r329185) +++ head/Mk/bsd.options.mk Thu Oct 3 13:32:36 2013 (r329186) @@ -93,6 +93,9 @@ # ${opt}_CMAKE_OFF When option is disabled, it will add its content to # the CMAKE_ARGS. # +# ${opt}_EXTRA_PATCHES When option is enabled, it will add its content to +# EXTRA_PATCHES +# # For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV # USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY, defining # ${opt}_${variable} will add it to the actual variable when the option is enabled. @@ -380,6 +383,9 @@ PLIST_SUB:= ${PLIST_SUB} ${opt}="@commen . endif . if ${PORT_OPTIONS:M${opt}} +. if defined(${opt}_EXTRA_PATCHES) +EXTRA_PATCHES+= ${${opt}_EXTRA_PATCHES} +. endif . if defined(${opt}_CONFIGURE_ENABLE) CONFIGURE_ARGS+= --enable-${${opt}_CONFIGURE_ENABLE} . endif