diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk index 38f1492f0dbd..aa7776ecc48c 100644 --- a/Mk/bsd.options.mk +++ b/Mk/bsd.options.mk @@ -99,11 +99,11 @@ # the CMAKE_ARGS. # # ${opt}_CMAKE_BOOL Will add to CMAKE_ARGS: -# Option enabled -D${content}:BOOL=true -# Option disabled -D${content}:BOOL=false +# Option enabled -D${content}:BOOL=ON +# Option disabled -D${content}:BOOL=OFF # ${opt}_CMAKE_BOOL_OFF Will add to CMAKE_ARGS: -# Option enabled -D${content}:BOOL=false -# Option disabled -D${content}:BOOL=true +# Option enabled -D${content}:BOOL=OFF +# Option disabled -D${content}:BOOL=ON # # ${opt}_QMAKE_ON When option is enabled, it will add its content to # the QMAKE_ARGS. @@ -519,10 +519,10 @@ CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--enable-/} CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:S/^/--with-/} . endif . if defined(${opt}_CMAKE_BOOL) -CMAKE_ARGS+= ${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=true/} +CMAKE_ARGS+= ${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=ON/} . endif . if defined(${opt}_CMAKE_BOOL_OFF) -CMAKE_ARGS+= ${${opt}_CMAKE_BOOL_OFF:C/.*/-D&:BOOL=false/} +CMAKE_ARGS+= ${${opt}_CMAKE_BOOL_OFF:C/.*/-D&:BOOL=OFF/} . endif . if defined(${opt}_MESON_TRUE) MESON_ARGS+= ${${opt}_MESON_TRUE:C/.*/-D&=true/}