diff options
author | adamw <adamw@FreeBSD.org> | 2016-06-26 06:23:37 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-06-26 06:23:37 +0800 |
commit | 78b99c91b6b505e78b47ddbdb38417ed3a007b94 (patch) | |
tree | 0a5a29224abc1c4694b963b5f6873288983315d2 /CHANGES | |
parent | 3d3db8213924acfea8728d76976cd943fe3f5c2f (diff) | |
download | freebsd-ports-gnome-78b99c91b6b505e78b47ddbdb38417ed3a007b94.tar.gz freebsd-ports-gnome-78b99c91b6b505e78b47ddbdb38417ed3a007b94.tar.zst freebsd-ports-gnome-78b99c91b6b505e78b47ddbdb38417ed3a007b94.zip |
Add an opt_CMAKE_BOOL options helper.
SOMEOPT_CMAKE_BOOL= WITH_FOO BAR
expands to:
-DWITH_FOO:BOOL=true -DBAR:BOOL=true
or
-DWITH_FOO:BOOL=false -DBAR:BOOL=false
PR: 210576
Approved by: portmgr (mat)
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -10,6 +10,18 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20160625: +AUTHOR: adamw@FreeBSD.org + + A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of: + + FOO_CMAKE_ON= -DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES + FOO_CMAKE_OFF= -DWITH_FOO:BOOL=NO -DWITH_BAR:BOOL=NO + + you can use this shortcut: + + SOMEOPT_CMAKE_BOOL= WITH_FOO WITH_BAR + 20160525: AUTHOR: mat@FreeBSD.org |