Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2024 01:21:24 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7d8958ed6f93 - main - devel/meson: Extend make(test) case to WITH_TESTING
Message-ID:  <202403160121.42G1LOd9055757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d8958ed6f935167ba0ae5247b507cde402c1ad2

commit 7d8958ed6f935167ba0ae5247b507cde402c1ad2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-16 01:19:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-16 01:20:08 +0000

    devel/meson: Extend make(test) case to WITH_TESTING
---
 devel/meson/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/meson/Makefile b/devel/meson/Makefile
index fe0639e07548..bcc20bc7b235 100644
--- a/devel/meson/Makefile
+++ b/devel/meson/Makefile
@@ -24,7 +24,7 @@ NO_ARCH=	yes
 TEST_ENV=	${MAKE_ENV:NCC=*:NCXX=*}
 
 # Hide from regular build to avoid accidental dependency on symlinks
-.if make(test)
+.if make(test) || ("${WITH_TESTING}" == yes && make(package))
 # helper_create_binary_wrapper, test_python_module, test cases/*.py
 BINARY_ALIAS+=	python3=${PYTHON_CMD:T} python=${PYTHON_CMD:T}
 do-test: create-binary-alias # force if run late



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