svn commit: r323867 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jul 29 07:01:21 UTC 2013
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
More information about the svn-ports-head
mailing list