From 63d640a7bc6f3153030449359635bb82c6719dbb Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 3 Jan 2024 23:30:11 +0100 Subject: [PATCH] devel/lutok: Remove DEFAULT option TEST The dependencies on TEST are mandatory and cannot be optionized. So remove the TEST option and make the dependencies as mandadatory. Reported by: leres --- devel/lutok/Makefile | 10 +++++----- devel/lutok/pkg-plist | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/devel/lutok/Makefile b/devel/lutok/Makefile index 2fd11a7439b3..fc77088d0ceb 100644 --- a/devel/lutok/Makefile +++ b/devel/lutok/Makefile @@ -9,6 +9,9 @@ WWW= https://github.com/jmmv/lutok/ LICENSE= BSD3CLAUSE +BUILD_DEPENDS= atf>=0.21:devel/atf +RUN_DEPENDS= atf>=0.21:devel/atf + USES= autoreconf libtool lua pathfix pkgconfig USE_CXXSTD= gnu++11 USE_GITHUB= yes @@ -17,6 +20,7 @@ GH_TAGNAME= ${PORTNAME}-${DISTVERSION} USE_LDCONFIG= yes GNU_CONFIGURE= yes +#TEST_CONFIGURE_WITH= atf # Force the use of the lua version we have chosen via USE_LUA. If we allow # lutok's configure script search for one using pkgconfig files, it might pick # a different version. @@ -30,8 +34,7 @@ INSTALL_TARGET= install-strip PORTDOCS= AUTHORS COPYING NEWS README html/* -OPTIONS_DEFINE= DOCS EXAMPLES TEST -OPTIONS_DEFAULT=TEST +OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen @@ -39,9 +42,6 @@ DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} --htmldir=${DOCSDIR}/html DOCS_CONFIGURE_OFF= --without-doxygen DOCS_MAKE_ARGS_OFF= doc_DATA= EXAMPLES_MAKE_ARGS_OFF= dist_examples_DATA= -TEST_BUILD_DEPENDS= atf>=0.21:devel/atf -TEST_RUN_DEPENDS= atf>=0.21:devel/atf -TEST_CONFIGURE_WITH= atf pre-install-DOCS-off: @${RM} -r ${WRKSRC}/api-docs diff --git a/devel/lutok/pkg-plist b/devel/lutok/pkg-plist index 0f1665afb7cc..693f0e866424 100644 --- a/devel/lutok/pkg-plist +++ b/devel/lutok/pkg-plist @@ -16,11 +16,11 @@ libdata/pkgconfig/lutok.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpreter.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/raii.cpp -%%TEST%%tests/lutok/Kyuafile -%%TEST%%tests/lutok/c_gate_test -%%TEST%%tests/lutok/debug_test -%%TEST%%tests/lutok/examples_test -%%TEST%%tests/lutok/exceptions_test -%%TEST%%tests/lutok/operations_test -%%TEST%%tests/lutok/stack_cleaner_test -%%TEST%%tests/lutok/state_test +tests/lutok/Kyuafile +tests/lutok/c_gate_test +tests/lutok/debug_test +tests/lutok/examples_test +tests/lutok/exceptions_test +tests/lutok/operations_test +tests/lutok/stack_cleaner_test +tests/lutok/state_test