mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- Remove options for testing
This commit is contained in:
parent
84cc657d1d
commit
148e87c6c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254864
@ -14,25 +14,7 @@ COMMENT= An MPD client library
|
||||
|
||||
USE_HACKAGE= utf8-string>=0.3.1 QuickCheck>=2.1.0.0
|
||||
|
||||
OPTIONS= TEST "Build test driver" off \
|
||||
COVERAGE "Build with hpc instrumentation" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_TEST)
|
||||
CONFIGURE_ARGS+= --flags="test"
|
||||
EXECUTABLE= test
|
||||
PLIST_SUB+= MAYBE_TEST=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-test"
|
||||
PLIST_SUB+= MAYBE_TEST="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_COVERAGE)
|
||||
CONFIGURE_ARGS+= --flags="coverage"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-coverage"
|
||||
.endif
|
||||
CONFIGURE_ARGS+= --flags="-test -coverage"
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
%%MAYBE_TEST%%bin/test
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/MPD/Commands/Arg.hi
|
||||
|
Loading…
Reference in New Issue
Block a user