Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 19:05:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 226251] Porter's Handbook: typo in MESON args
Message-ID:  <bug-226251-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: uzsolt@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226251-9>