Date: Mon, 29 Jul 2013 07:01:21 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323867 - head/Mk Message-ID: <201307290701.r6T71LRs080013@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Jul 29 07:01:20 2013 New Revision: 323867 URL: http://svnweb.freebsd.org/changeset/ports/323867 Log: Add new ${OPT}_CONFIGURE_WITH option help it will handle the --with/--without configure argument dancing based on the value of the OPTION ${OPT} Requested by: mandree Modified: head/Mk/bsd.options.mk Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Mon Jul 29 06:52:46 2013 (r323866) +++ head/Mk/bsd.options.mk Mon Jul 29 07:01:20 2013 (r323867) @@ -351,6 +351,9 @@ PLIST_SUB:= ${PLIST_SUB} ${opt}="@commen . if defined(${opt}_CONFIGURE_ENABLE) CONFIGURE_ARGS+= --enable-${${opt}_CONFIGURE_ENABLE} . endif +. if defined(${opt}_CONFIGURE_WITH) +CONFIGURE_ARGS+= --with-${${opt}_CONFIGURE_WITH} +. endif . if defined(${opt}_CONFIGURE_ON) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ON} . endif @@ -371,6 +374,9 @@ ${deptype}_DEPENDS+= ${${opt}_${deptype} . if defined(${opt}_CONFIGURE_ENABLE) CONFIGURE_ARGS+= --disable-${${opt}_CONFIGURE_ENABLE} . endif +. if defined(${opt}_CONFIGURE_WITH) +CONFIGURE_ARGS+= --without-${${opt}_CONFIGURE_WITH} +. endif . if defined(${opt}_CONFIGURE_OFF) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_OFF} . endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307290701.r6T71LRs080013>