diff options
author | pgj <pgj@FreeBSD.org> | 2010-05-23 06:41:50 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2010-05-23 06:41:50 +0800 |
commit | 2895aa97338047cd559fa9bd0586d799dc99f03a (patch) | |
tree | a9dc08da2736702569cfb9ffc12399651e8a5377 /converters/hs-dataenc | |
parent | 988bcdfc0bbcd3a778a48fcbb719810254fb1fba (diff) | |
download | freebsd-ports-gnome-2895aa97338047cd559fa9bd0586d799dc99f03a.tar.gz freebsd-ports-gnome-2895aa97338047cd559fa9bd0586d799dc99f03a.tar.zst freebsd-ports-gnome-2895aa97338047cd559fa9bd0586d799dc99f03a.zip |
- Fix OPTIONS support for Cabal ports by introducing
bsd.cabal.options.mk
- Fix ports broken with non-default options
Triggered by: Yuri Pankov <yuri.pankov@gmail.com>
Diffstat (limited to 'converters/hs-dataenc')
-rw-r--r-- | converters/hs-dataenc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/converters/hs-dataenc/Makefile b/converters/hs-dataenc/Makefile index 00283c6059cf..85233b72767e 100644 --- a/converters/hs-dataenc/Makefile +++ b/converters/hs-dataenc/Makefile @@ -16,10 +16,12 @@ CABAL_SETUP= Setup.hs OPTIONS= BUILDTESTS "Build unit and quickcheck tests" off +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .include <bsd.port.options.mk> .if defined(WITH_BUILDTESTS) CONFIGURE_ARGS+= --flags="BuildTests" +USE_HACKAGE+= QuickCheck>=2.1.0.0 test-framework test-framework-hunit test-framework-quickcheck2 EXECUTABLE+= tests PLIST_SUB+= MAYBE_BUILDTESTS="" .else |