aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-hashed-storage
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-23 06:41:50 +0800
committerpgj <pgj@FreeBSD.org>2010-05-23 06:41:50 +0800
commit2895aa97338047cd559fa9bd0586d799dc99f03a (patch)
treea9dc08da2736702569cfb9ffc12399651e8a5377 /devel/hs-hashed-storage
parent988bcdfc0bbcd3a778a48fcbb719810254fb1fba (diff)
downloadfreebsd-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 'devel/hs-hashed-storage')
-rw-r--r--devel/hs-hashed-storage/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/hs-hashed-storage/Makefile b/devel/hs-hashed-storage/Makefile
index deff1a5b20b6..ef4a5f0a092f 100644
--- a/devel/hs-hashed-storage/Makefile
+++ b/devel/hs-hashed-storage/Makefile
@@ -18,10 +18,12 @@ USE_HACKAGE= binary dataenc mmap>=0.5 zlib
OPTIONS= TEST "Build tests" off
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
.if defined(WITH_TEST)
CONFIGURE_ARGS+= --flags="test"
+USE_HACKAGE+= test-framework test-framework-hunit test-framework-quickcheck2 QuickCheck>=2.0.0.0 zip-archive
EXECUTABLE+= hashed-storage-test
PLIST_SUB+= MAYBE_TEST=""
.else