MESON_ARGS

Mathieu Arnold mat at FreeBSD.org
Tue Feb 20 10:11:45 UTC 2018


On Mon, Feb 19, 2018 at 11:53:28PM +0000, Walter Schwarzenfeld wrote:
> The only way to pass more than one argument from the Makefile to meson I got
> working is e.g:
> 
> CONFIGURE_ARGS= -Drpm=false
> CONFIGURE_ARGS+=        -Dstemmer=false
> CONFIGURE_ARGS+=        -Dintrospection=false
> 
> One arg in per row and in the order as in the meson_options.txt.
> 
> The "normal" way to break the line with a backslash does not work.
> 
> Is there another way (accept to patch meson_options.txt and meson.build)?
> 
> It is not very handy.
> 
> Can anyone tell me the right syntax?

I do not understand why something like:

MESON_ARGS= -Drpm=false
MESON_ARGS+=        -Dstemmer=false
MESON_ARGS+=        -Dintrospection=false

would not work.

Also, this should work:

MESON_ARGS= -Drpm=false -Dstemmer=false -Dintrospection=false

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180220/3b5c64e7/attachment.sig>


More information about the freebsd-ports mailing list