svn commit: r346379 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Thu Feb 27 16:39:26 UTC 2014
Author: mat
Date: Thu Feb 27 16:39:25 2014
New Revision: 346379
URL: http://svnweb.freebsd.org/changeset/ports/346379
QAT: https://qat.redports.org/buildarchive/r346379/
Log:
Add %%NO_OPT1%% to PLIST_SUB that is enabled when %%OPT1%% is not.
Sponsored by: Absolight
Modified:
head/Mk/bsd.options.mk
Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk Thu Feb 27 16:14:30 2014 (r346378)
+++ head/Mk/bsd.options.mk Thu Feb 27 16:39:25 2014 (r346379)
@@ -391,9 +391,9 @@ PLIST_SUB?=
. if defined(OPTIONS_SUB)
. if ! ${PLIST_SUB:M${opt}=*}
. if ${PORT_OPTIONS:M${opt}}
-PLIST_SUB:= ${PLIST_SUB} ${opt}=""
+PLIST_SUB:= ${PLIST_SUB} ${opt}="" NO_${opt}="@comment "
. else
-PLIST_SUB:= ${PLIST_SUB} ${opt}="@comment "
+PLIST_SUB:= ${PLIST_SUB} ${opt}="@comment " NO_${opt}=""
. endif
. endif
. endif
More information about the svn-ports-head
mailing list