diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2005-05-18 19:43:34 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2005-05-18 19:43:34 +0000 |
commit | 1773aa38ab642309819f3eacd37cacce16b78a64 (patch) | |
tree | 09bbf2fee00fd98f5f434d31ada7e876d2b7d102 /devel/hs-c2hs | |
parent | 69ebfe3e04b91d2b03485f786f8fac915ed571fc (diff) | |
download | ports-1773aa38ab642309819f3eacd37cacce16b78a64.tar.gz ports-1773aa38ab642309819f3eacd37cacce16b78a64.zip |
Notes
Diffstat (limited to 'devel/hs-c2hs')
-rw-r--r-- | devel/hs-c2hs/Makefile | 4 | ||||
-rw-r--r-- | devel/hs-c2hs/distinfo | 4 | ||||
-rw-r--r-- | devel/hs-c2hs/files/patch-c2hs-Makefile | 19 | ||||
-rw-r--r-- | devel/hs-c2hs/pkg-plist | 1 |
4 files changed, 22 insertions, 6 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile index 6feac650d4d1..031ce66bddbf 100644 --- a/devel/hs-c2hs/Makefile +++ b/devel/hs-c2hs/Makefile @@ -6,7 +6,7 @@ # PORTNAME= c2hs -PORTVERSION= 0.13.4 +PORTVERSION= 0.13.6 CATEGORIES= devel haskell MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ PKGNAMEPREFIX= hs- @@ -16,8 +16,6 @@ COMMENT= C->Haskell, an Interface Generator for Haskell OPTIONS= GHC5 "Build for ghc5" off -BROKEN= Does not compile with latest ghc 6.4 - .include <bsd.port.pre.mk> .if defined(WITH_GHC5) diff --git a/devel/hs-c2hs/distinfo b/devel/hs-c2hs/distinfo index 00f5beebd5fa..25baebfd0265 100644 --- a/devel/hs-c2hs/distinfo +++ b/devel/hs-c2hs/distinfo @@ -1,2 +1,2 @@ -MD5 (c2hs-0.13.4.tar.gz) = a6c8a3b164c8abe944e762a732d03779 -SIZE (c2hs-0.13.4.tar.gz) = 372471 +MD5 (c2hs-0.13.6.tar.gz) = 0aceb574fdb1ac28d75a3c367444a0bf +SIZE (c2hs-0.13.6.tar.gz) = 375162 diff --git a/devel/hs-c2hs/files/patch-c2hs-Makefile b/devel/hs-c2hs/files/patch-c2hs-Makefile new file mode 100644 index 000000000000..539660c1aaae --- /dev/null +++ b/devel/hs-c2hs/files/patch-c2hs-Makefile @@ -0,0 +1,19 @@ +--- c2hs/Makefile.orig Wed May 18 05:04:03 2005 ++++ c2hs/Makefile Wed May 18 20:59:56 2005 +@@ -84,7 +84,7 @@ + + # installation + # +-install: all install-dirs install-conf register-package ++install: all install-dirs install-conf + $(INSTALL) -s c2hs $(DESTDIR)$(bindir)/c2hs + $(INSTALL_PROGRAM) c2hs-config $(DESTDIR)$(bindir)/c2hs-config + $(INSTALL_DATA) lib/libc2hs.a $(DESTDIR)$(pkglibdir)/libc2hs.a +@@ -93,6 +93,7 @@ + $(DESTDIR)$(pkgimportdir)/`$(BASENAME) $$hi`;\ + $(INSTALL_DATA) $$hi $(DESTDIR)$(pkgimportdir)/`$(BASENAME) $$hi`;\ + done ++ $(MAKE) register-package + + install-dirs: + $(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir) diff --git a/devel/hs-c2hs/pkg-plist b/devel/hs-c2hs/pkg-plist index 30a216e6562a..3bfe512c8d3e 100644 --- a/devel/hs-c2hs/pkg-plist +++ b/devel/hs-c2hs/pkg-plist @@ -5,7 +5,6 @@ lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/import/C2HS.hi lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/import/C2HSBase.hi lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/import/C2HSMarsh.hi lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/libc2hs.a -lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/c2hs.o @dirrm lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%%/import @dirrm lib/c2hs-%%C2HS_VERSION%%/ghc%%GHCMAJOR%% @dirrm lib/c2hs-%%C2HS_VERSION%% |