Skip to content

Commit

Permalink
devel/lutok: Remove DEFAULT option TEST
Browse files Browse the repository at this point in the history
The dependencies on TEST are mandatory and cannot be optionized. So
remove the TEST option and make the dependencies as mandadatory.

Reported by:	leres
  • Loading branch information
5u623l20 committed Jan 4, 2024
1 parent 0a05a85 commit 63d640a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions devel/lutok/Makefile
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -30,18 +34,14 @@ 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
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
Expand Down
16 changes: 8 additions & 8 deletions devel/lutok/pkg-plist
Expand Up @@ -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

0 comments on commit 63d640a

Please sign in to comment.