meson: don't expose cmake if the package didn't also set USE_CMAKE

This commit is contained in:
tnn 2019-10-24 09:19:02 +00:00
parent 42a2ba2adf
commit dcd41cd072

View file

@ -1,4 +1,4 @@
# $NetBSD: build.mk,v 1.2 2019/10/05 20:09:52 nia Exp $
# $NetBSD: build.mk,v 1.3 2019/10/24 09:19:02 tnn Exp $
BUILD_DEPENDS+= meson-[0-9]*:../../devel/meson
@ -13,6 +13,10 @@ INSTALL_DIRS?= ${CONFIGURE_DIRS}
MAKE_ENV+= LLVM_CONFIG_PATH=${LLVM_CONFIG_PATH:Q}
.endif
.if !defined(USE_CMAKE)
MAKE_ENV+= CMAKE=${TOOLS_PATH.false}
.endif
do-configure: meson-configure
meson-configure:
.for d in ${CONFIGURE_DIRS}