[Bug 226251] Porter's Handbook: typo in MESON args

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 27 19:05:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226251

            Bug ID: 226251
           Summary: Porter's Handbook: typo in MESON args
           Product: Documentation
           Version: Latest
          Hardware: Any
               URL: https://www.freebsd.org/doc/en/books/porters-handbook/
                    book.html#options-meson_true
                OS: Any
            Status: New
          Keywords: easy
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc at FreeBSD.org
          Reporter: uzsolt at uzsolt.hu

At "5.13.3.5.2. OPT_MESON_TRUE and OPT_MESON_FALSE" and
"5.13.3.5.3. OPT_MESON_YES and OPT_MESON_NO":

OPTIONS_DEFINE= OPT1
OPT1_MESON_TRUE=        test debug
OPT1_MESON_FALSE=       optimize

is equivalent to:
...
CMAKE_ARGS+=    -Dtest=true -Ddebug=true \
                -Doptimize=false
.else
CMAKE_ARGS+=    -Dtest=false -Ddebug=false \
                -Doptimize=true
.endif

Note the CMAKE_ARGS appears instead of MESON_ARGS.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list