diff options
author | mat <mat@FreeBSD.org> | 2015-08-28 20:28:13 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-08-28 20:28:13 +0800 |
commit | 6f3e2a2709b35068932c98852d98b7ec539b98b1 (patch) | |
tree | f691b46b14dc311252a12b21c239ac707eddc5fc /CHANGES | |
parent | 645bd704858dbecd1d91d966f516feb293c2bece (diff) | |
download | freebsd-ports-gnome-6f3e2a2709b35068932c98852d98b7ec539b98b1.tar.gz freebsd-ports-gnome-6f3e2a2709b35068932c98852d98b7ec539b98b1.tar.zst freebsd-ports-gnome-6f3e2a2709b35068932c98852d98b7ec539b98b1.zip |
Add generic opt_VARS/opt_VARS_OFF.
OPT1_VARS= foo=bar baz+=bam
will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF
works the same way, if the option is disabled.
Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3410
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -10,6 +10,17 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20150828: +AUTHOR: mat@FreeBSD.org + + <opt>_VARS and <opt>_VARS_OFF have been introduced to allow for a generic way + to set/append to variables. + + OPT1_VARS= foo=bar baz+=bam + + will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF + works the same way, if the option is disabled. + 20150818: AUTHOR: kde@FreeBSD.org |