From 577261baede19bd61a15e41cb2ab516b3b2ba85c Mon Sep 17 00:00:00 2001 From: obraun Date: Sun, 15 Feb 2004 13:12:38 +0000 Subject: Upgrade to 0.12.0 --- devel/hs-c2hs/Makefile | 7 +++---- devel/hs-c2hs/distinfo | 4 ++-- devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs | 11 +++++++++++ devel/hs-c2hs/pkg-plist | 22 +++++++++++----------- 4 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 devel/hs-c2hs/files/patch-c2hs::c:CAttrs.hs 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 -- cgit