summaryrefslogtreecommitdiff
path: root/devel/hs-abstract-deque/Makefile
blob: 27f87ad9bd41657a98991e4d8eaa0264ec088614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=	abstract-deque
PORTVERSION=	0.2
PORTREVISION=	3
CATEGORIES=	devel haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Abstract, parameterized interface to mutable Deques

LICENSE=	BSD

USE_CABAL=	HUnit random

OPTIONS_DEFINE=	USECAS

USECAS_DESC=	Use hardware compare-and-swap

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"

.if ${PORT_OPTIONS:MUSECAS}
CONFIGURE_ARGS+=	--flags="useCAS"
USE_CABAL+=		IORefCas>=0.2
.else
CONFIGURE_ARGS+=	--flags="-useCAS"
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>