diff options
author | mat <mat@FreeBSD.org> | 2014-02-28 00:39:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-02-28 00:39:25 +0800 |
commit | fbe4a4a345c5b8b85a96e94514138f1b9d96b92c (patch) | |
tree | c0a5a5d5bafc78641f7ea702eb33f9a66bd7faf8 | |
parent | acd4e73542c46b0a39545f5808382445a1d0eadb (diff) | |
download | freebsd-ports-gnome-fbe4a4a345c5b8b85a96e94514138f1b9d96b92c.tar.gz freebsd-ports-gnome-fbe4a4a345c5b8b85a96e94514138f1b9d96b92c.tar.zst freebsd-ports-gnome-fbe4a4a345c5b8b85a96e94514138f1b9d96b92c.zip |
Add %%NO_OPT1%% to PLIST_SUB that is enabled when %%OPT1%% is not.
Sponsored by: Absolight
-rw-r--r-- | Mk/bsd.options.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk index f553433dd71d..cea868618dd5 100644 --- a/Mk/bsd.options.mk +++ b/Mk/bsd.options.mk @@ -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 |