1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Add %%NO_OPT1%% to PLIST_SUB that is enabled when %%OPT1%% is not.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-02-27 16:39:25 +00:00
parent 89a4958d3c
commit 0f58d15935
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346379

View File

@ -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