1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

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
This commit is contained in:
Muhammad Moinur Rahman 2024-01-03 23:30:11 +01:00
parent 0a05a8533c
commit 63d640a7bc
2 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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