summaryrefslogtreecommitdiff
path: root/devel/hs-hslua
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-hslua')
-rw-r--r--devel/hs-hslua/Makefile5
-rw-r--r--devel/hs-hslua/distinfo6
-rw-r--r--devel/hs-hslua/files/patch-hslua.cabal12
3 files changed, 18 insertions, 5 deletions
diff --git a/devel/hs-hslua/Makefile b/devel/hs-hslua/Makefile
index dbf7de6d654b..dc944afe4cae 100644
--- a/devel/hs-hslua/Makefile
+++ b/devel/hs-hslua/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= hslua
-PORTVERSION= 0.5.0
-PORTREVISION= 1
+PORTVERSION= 0.9.5.1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,5 +9,7 @@ COMMENT= Lua language interpreter embedding in Haskell
LICENSE= MIT
+USE_CABAL= exceptions
+
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-hslua/distinfo b/devel/hs-hslua/distinfo
index c2f863c5136c..e99ab64d26f4 100644
--- a/devel/hs-hslua/distinfo
+++ b/devel/hs-hslua/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499627844
-SHA256 (cabal/hslua-0.5.0.tar.gz) = 6b270a14cce6046a443e6700d0b73725bef2dc068dd40aa6a1feb1c84f41171b
-SIZE (cabal/hslua-0.5.0.tar.gz) = 132155
+TIMESTAMP = 1524940935
+SHA256 (cabal/hslua-0.9.5.1.tar.gz) = 681ffb1775e948143c0dd4be3086259f2eda8a9f7b09ce94016150c57e9d74d0
+SIZE (cabal/hslua-0.9.5.1.tar.gz) = 228252
diff --git a/devel/hs-hslua/files/patch-hslua.cabal b/devel/hs-hslua/files/patch-hslua.cabal
new file mode 100644
index 000000000000..83ac5715b79a
--- /dev/null
+++ b/devel/hs-hslua/files/patch-hslua.cabal
@@ -0,0 +1,12 @@
+--- hslua.cabal.orig 2018-04-28 18:45:32 UTC
++++ hslua.cabal
+@@ -77,8 +77,7 @@ library
+ build-depends: base >= 4.7 && < 5
+ , bytestring >= 0.10.2 && < 0.11
+ , containers >= 0.5 && < 0.6
+- , exceptions >= 0.8 && < 0.10
+- , fail >= 4.9 && < 5
++ , exceptions >= 0.8 && < 0.11
+ , mtl >= 2.2 && < 2.3
+ , text
+ exposed-modules: Foreign.Lua