git: 396083d3ac17 - main - devel/wf-config: track doctest dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 19:26:22 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=396083d3ac176e1ebfd2148e151fdfa195dacfbc commit 396083d3ac176e1ebfd2148e151fdfa195dacfbc Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-03-20 19:06:13 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-03-20 19:25:44 +0000 devel/wf-config: track doctest dependency Run-time dependency doctest found: YES 2.4.8 PR: 270361 --- devel/wf-config/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devel/wf-config/Makefile b/devel/wf-config/Makefile index cf39111fc744..2a90f520ea2b 100644 --- a/devel/wf-config/Makefile +++ b/devel/wf-config/Makefile @@ -16,11 +16,20 @@ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ glm>0:math/glm LIB_DEPENDS= libevdev.so:devel/libevdev RUN_DEPENDS= glm>0:math/glm +TEST_DEPENDS= doctest>0:devel/doctest USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= libxml2 USE_LDCONFIG= yes GH_ACCOUNT= WayfireWM +MESON_ARGS= -Dtests=disabled + +pre-test: + @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ + ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ + ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ + ${TOUCH} ${WRKDIR}/.meson_build_tests; \ + fi .include <bsd.port.mk>