svn commit: r419993 - in head: mail/libmapi net/nanomsg

Kubilay Kocak koobs at FreeBSD.org
Wed Aug 10 08:57:48 UTC 2016


On 10/08/2016 6:21 PM, Emmanuel Vadot wrote:
> +.if ${PORT_OPTIONS:MDOCS}
> +CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR:STRING=man
> +.else
> +CMAKE_ARGS+=	-DNN_ENABLE_DOC=OFF
>  .endif

This block can/should be replaced with options helpers (placed under
DOCS_BUILD_DEPENDS):

DOCS_CMAKE_BOOL=	NN_ENABLE_DOC
DOCS_CMAKE_ON=		-DCMAKE_INSTALL_MANDIR:STRING=man

See Mk/bsd.options.mk for details.

Please test (poudriere) with/without DOCS option to confirm that their
cmake scripts accept -D${content}:BOOL=false (what Ports does) as well
as 'OFF' for their NN_ENABLE_DOC cmake option.


More information about the svn-ports-all mailing list