git: f1c6ea552e52 - main - accessibility/feedbackd: skip building tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Oct 2024 18:36:30 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f1c6ea552e52f11514f9837d9d4a8561ee201fde commit f1c6ea552e52f11514f9837d9d4a8561ee201fde Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-10-17 16:09:46 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-10-17 18:28:46 +0000 accessibility/feedbackd: skip building tests --- accessibility/feedbackd/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/accessibility/feedbackd/Makefile b/accessibility/feedbackd/Makefile index 53e0b5a968bd..4a57c2b43f00 100644 --- a/accessibility/feedbackd/Makefile +++ b/accessibility/feedbackd/Makefile @@ -21,6 +21,7 @@ GL_SITE= https://source.puri.sm GL_ACCOUNT= Librem5 GL_TUPLE= https://gitlab.gnome.org:World/Phosh:gmobile:v0.0.6:gmobile/subprojects/gmobile SHEBANG_FILES= build-aux/post_install.py +MESON_ARGS= -Dtests=false GLIB_SCHEMAS= org.sigxcpu.feedbackd.gschema.xml OPTIONS_DEFINE= DAEMON DOCS GIR MANPAGES VAPI @@ -56,4 +57,11 @@ post-configure: --skip-subprojects/' ${BUILD_WRKSRC}/build.ninja .endif +pre-test: + @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ + ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ + ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true"; \ + ${TOUCH} ${WRKDIR}/.meson_build_tests; \ + fi + .include <bsd.port.mk>