1
0
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:
Gabor Pali 2010-05-22 21:47:02 +00:00
parent 84cc657d1d
commit 148e87c6c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254864
2 changed files with 1 additions and 20 deletions

View File

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

View File

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