aboutsummaryrefslogtreecommitdiff
path: root/textproc/hs-double-conversion/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hs-double-conversion/Makefile')
-rw-r--r--textproc/hs-double-conversion/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/hs-double-conversion/Makefile b/textproc/hs-double-conversion/Makefile
index 6ee619777cbe..d9f7b3a4c0be 100644
--- a/textproc/hs-double-conversion/Makefile
+++ b/textproc/hs-double-conversion/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= double-conversion
-PORTVERSION= 0.2.0.6
-PORTREVISION= 7
+PORTVERSION= 2.0.1.0
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
@@ -13,4 +12,11 @@ LICENSE= BSD3CLAUSE
USE_CABAL= text>=0.11.0.8
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+
+.if ${PORT_OPTIONS:MPCLANG} || ${PORT_OPTIONS:MBCLANG}
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-double-conversion.cabal
+LIB_DEPENDS+= libcxxrt.so:${PORTSDIR}/devel/libcxxrt
+.endif
+
.include <bsd.port.mk>
+