aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-c2hs
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2004-02-15 13:12:38 +0000
committerOliver Braun <obraun@FreeBSD.org>2004-02-15 13:12:38 +0000
commit17485cffa18cbc70d9c2d98fa74850b3032063c3 (patch)
treeff506d18bf6194cbee688a0cbfd03f498871755f /devel/hs-c2hs
parentf788124d672bdc39ac1b1049b728a75b6687423c (diff)
downloadports-17485cffa18cbc70d9c2d98fa74850b3032063c3.tar.gz
ports-17485cffa18cbc70d9c2d98fa74850b3032063c3.zip
Upgrade to 0.12.0
Notes
Notes: svn path=/head/; revision=100973
Diffstat (limited to 'devel/hs-c2hs')
-rw-r--r--devel/hs-c2hs/Makefile7
-rw-r--r--devel/hs-c2hs/distinfo4
-rw-r--r--devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs11
-rw-r--r--devel/hs-c2hs/pkg-plist22
4 files changed, 27 insertions, 17 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile
index b71fd0424597..1e45103b9e06 100644
--- a/devel/hs-c2hs/Makefile
+++ b/devel/hs-c2hs/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= c2hs
-PORTVERSION= 0.11.5
-PORTREVISION= 1
+PORTVERSION= 0.12.0
CATEGORIES= devel haskell
MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
PKGNAMEPREFIX= hs-
@@ -15,8 +14,8 @@ PKGNAMEPREFIX= hs-
MAINTAINER= obraun@FreeBSD.org
COMMENT= C->Haskell, an Interface Generator for Haskell
-BUILD_DEPENDS= ghc-5.04.3:${PORTSDIR}/lang/ghc5
-RUN_DEPENDS= ghc-5.04.3:${PORTSDIR}/lang/ghc5
+BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
+RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc
USE_SIZE= yes
HAS_CONFIGURE= yes
diff --git a/devel/hs-c2hs/distinfo b/devel/hs-c2hs/distinfo
index 053b8e7c7046..76d38e6c7d80 100644
--- a/devel/hs-c2hs/distinfo
+++ b/devel/hs-c2hs/distinfo
@@ -1,2 +1,2 @@
-MD5 (c2hs-0.11.5.tar.gz) = 2f3859154ec3c472e85db726095163b5
-SIZE (c2hs-0.11.5.tar.gz) = 374927
+MD5 (c2hs-0.12.0.tar.gz) = 32327d4c531648bdace8c90d5c52b825
+SIZE (c2hs-0.12.0.tar.gz) = 383650
diff --git a/devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs b/devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs
new file mode 100644
index 000000000000..5ca322ecf75c
--- /dev/null
+++ b/devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs
@@ -0,0 +1,11 @@
+--- c2hs/c/CAttrs.hs.orig Mon Feb 12 07:34:38 2001
++++ c2hs/c/CAttrs.hs Sun Feb 15 14:02:03 2004
+@@ -144,7 +144,7 @@
+ --
+ leaveObjRangeC :: AttrC -> AttrC
+ leaveObjRangeC ac = ac {
+- defObjsAC = fst . leaveRange . defObjsAC $ ac,
++ defObjsAC = fst . leaveRange . defObjsAC $ ac
+ }
+
+ -- add another definitions to the object name space (EXPORTED)
diff --git a/devel/hs-c2hs/pkg-plist b/devel/hs-c2hs/pkg-plist
index c9536ba77d2f..1b6fad7e747e 100644
--- a/devel/hs-c2hs/pkg-plist
+++ b/devel/hs-c2hs/pkg-plist
@@ -1,16 +1,16 @@
bin/c2hs
bin/c2hs-config
-lib/c2hs-%%C2HS_VERSION%%/ghc5/c2hs.conf
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HS.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSBase.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSDeprecated.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/C2HSMarsh.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/NewStablePtr.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/import/NewStorable.hi
-lib/c2hs-%%C2HS_VERSION%%/ghc5/libc2hs.a
-lib/c2hs-%%C2HS_VERSION%%/ghc5/c2hs.o
-@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc5/import
-@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc5
+lib/c2hs-%%C2HS_VERSION%%/ghc6/c2hs.conf
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/C2HS.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/C2HSBase.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/C2HSDeprecated.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/C2HSMarsh.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/NewStablePtr.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/import/NewStorable.hi
+lib/c2hs-%%C2HS_VERSION%%/ghc6/libc2hs.a
+lib/c2hs-%%C2HS_VERSION%%/ghc6/c2hs.o
+@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc6/import
+@dirrm lib/c2hs-%%C2HS_VERSION%%/ghc6
@dirrm lib/c2hs-%%C2HS_VERSION%%
@exec %D/bin/c2hs-config --package-conf | %D/bin/ghc-pkg -u -g
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old