Date: Thu, 3 Oct 2013 13:32:37 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329186 - head/Mk Message-ID: <201310031332.r93DWbNq084640@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310031332.r93DWbNq084640>