FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
hs-c2hs 0.16.4_6 devel on this many watch lists=1 search for ports that depend on this port
C->Haskell tool that gives some cross-language type safety
Maintained by: haskell@FreeBSD.org search for ports maintained by this maintainer
Port Added: 04 Sep 2002 18:39:29
Also Listed In: haskell
License: GPLv2


C->Haskell assists in the development of Haskell bindings to C libraries.
It extracts interface information from C header files and generates Haskell
code with foreign imports and marshaling. Unlike writing foreign imports
by hand (or using hsch2s), this ensures that C functions are imported with
the correct Haskell types.

WWW: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. lang/ghc
  2. lang/ghc
  3. devel/hs-language-c
  4. textproc/docbook-xsl
  5. textproc/libxslt
  6. devel/gmake
  7. lang/gcc
  8. devel/binutils
Required To Run:
  1. lang/ghc
  2. lang/ghc
  3. devel/hs-language-c
  4. lang/gcc
Required Libraries:
  1. math/gmp
  2. converters/libiconv

This port is required by:

for Build * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/devel/hs-c2hs/ && make install clean
To add the package: pkg install devel/hs-c2hs


Configuration Options
===> The following configuration options are available for hs-c2hs-0.16.4_6:
     DOCS=on: Build and/or install documentation
     DYNAMIC=on: Add support for dynamic linking
     HSCOLOUR=off: Colorize generated documentation by HsColour
     LLVM=off: Use the LLVM backend for code generation
     PROFILE=off: Add support for profiling
===> Use 'make config' to modify these settings

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cabal/
  2. http://hackage.haskell.org/package/c2hs-0.16.4/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-06-04
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      The Glorious Glasgow Haskell Compiler has been updated to version
      7.6.3 and Haskell Platform to 2013.2.0.0.  Hence it is recommended to
      rebuild or reinstall all the dependent ports by one of the following
      commands:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
      Note that prefixes used for hs- ports (Cabal packages) have been
      changed to PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION to
      enable more seamless upgrades in the future.
    
    
  • 2013-03-31
    Affects: users of */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Due to some unexpected dynamic linking problems, Haskell Cabal ports with
      binaries that link to their own libraries may not work.  With default
      configuration, the following ports are known to have this problem:
      Agda, BNFC, pandoc, and uuagc.  (Their port revision are now bumped.)
    
      In general, it is recommended to rebuild the port if you are
      experiencing that the corresponding binary will not start, e.g.:
    
      % agda
      Shared object "libHSAgda-2.3.2-ghc7.4.2.so" not found, required by "agda"
    
    
  • 2013-02-05
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that the recent devel/libffi update caused some breakage in the Haskell
      ports with the DYNAMIC option enabled.  The problem has been identified and
      fixed since then.  All Haskell ports have been updated to their latest stable
      versions or bumped as DYNAMIC is enabled by default.
    
      Hence it is recommended to rebuild or reinstall all ports depending on GHC
      by one of the following commands:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
    
  • 2012-12-20
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that the Glorious Glasgow Haskell Compiler has been updated to
      version 7.4.2.
    
      Please rebuild or reinstall all dependent ports by issuing one of the
      following commands, depending on the tool used:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
    
    
  • 2012-06-03
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that The Glorious Glasgow Haskell Compiler and the Haskell Platform
      have been updated to versions 7.4.1 and 2012.2.0.0, respectively.  At the
      same time, all Haskell ports have been updated to their latest working
      versions.
    
      To follow the changes, please issue one of the following commands
      (depending on the tool used):
    
      # portmaster -r ghc
        or
      # portupgrade -fr lang/ghc
    
    
    
  • 2012-02-13
    Affects: users of lang/ghc and */hs-*
    Author: pgj@FreeBSD.org
    Reason: 
      GHC has been updated to version 7.0.4, and Haskell Platform to version
      2011.4.0.0, and other Haskell ports are also updated to their Haskell
      Platform versions or latest versions.
    
      To update all affected ports:
    
      # portmaster -r lang/ghc
        or
      # portupgrade -r lang/ghc
    
    
  • 2011-05-09
    Affects: users of lang/ghc and */hs-*
    Author: ashish@FreeBSD.org
    Reason: 
      GHC has been updated to version 7.0.3 and other Haskell ports are also
      updated to their Haskell Platform versions or latest versions.
    
      To update all affected ports:
    
      # portmaster -r lang/ghc
        or
      # portupgrade -r lang/ghc
    
    

Number of commits found: 57

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Mar 2014 00:52:55
Original commit files touched by this commit  0.16.4_6
Revision:349475
pgj search for other commits by this committer
- Reroll and update bootstrap Haskell compilers to GHC 7.6.3 on 8.x and
  9.x in order to prevent run-time breakage after the recent changes in
  libiconv
- Bump port revision for lang/ghc and all dependents, as a consequence

Obtained from:	FreeBSD Haskell
10 Mar 2014 20:55:22
Original commit files touched by this commit  0.16.4_5
Revision:347809
gerald search for other commits by this committer
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
09 Jan 2014 21:32:14
Original commit files touched by this commit  0.16.4_4
Revision:339286
pgj search for other commits by this committer
- Stagify lang/ghc and all the Haskell Cabal ports
- Update HACKAGE_SITE to follow changes in upstream
- MAKE_ENV now sets LC_ALL and DESTDIR for Haskell Cabal ports
- Further minor cosmetical changes: replace USE_GMAKE with USES, get rid of
  ${DO_NADA}, some refactoring

Obtained from:	FreeBSD Haskell
09 Jan 2014 21:29:40
Original commit files touched by this commit  0.16.4_4
Revision:339285
pgj search for other commits by this committer
- Fix a run-time problem with lang/ghc on FreeBSD 10.0 and later, caused by
  the iconv changes (basically GHCi was rendered unusable)
- Fix build for x11-toolkits/hs-wxc, while here
- Bump port revision for all Haskell Cabal ports as they have to be rebuilt

PR:		ports/184806
Reported by:	many
Obtained from:	FreeBSD Haskell
MFH:		2014Q1
26 Oct 2013 00:52:36
Original commit files touched by this commit  0.16.4_3
Revision:331644
gerald search for other commits by this committer
Update to libmpc version 1.0.1 which brings the following fixes:

 - Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 17:04:44
Original commit files touched by this commit  0.16.4_2
Revision:327723
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2)
04 Jun 2013 18:53:41
Original commit files touched by this commit  0.16.4_2
Revision:319894
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.6.3
- Update Haskell Platform to version 2013.2.0.0

Please note that port revisions for all the Haskell ports without version
changes are bumped.

Some highlights of the update:

- Fix PDF generation for pandoc [1]
- From now on, PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION are used for
  hs- ports (Cabal packages) as prefixes to avoid problems when upgrading with
  portmaster(8) [2]
- Experimental support for LLVM-based code generation (disabled by default)
- Many simplifications, refactoring in bsd.cabal.mk
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Feb 2013 22:26:32
Original commit files touched by this commit  0.16.4_1
Revision:311736
pgj search for other commits by this committer
- Fix breakage in the DYNAMIC-enabled ports triggered by the recent
  devel/libffi update
- Enable multithreaded build for lang/ghc (i.e. mark MAKE_JOBS_SAFE)

Please note that port revision for all the Haskell ports without version
changes are bumped.

New ports (20):

devel/hs-MonadRandom                     0.1.8
devel/hs-base64-conduit                  0.5.1
devel/hs-bifunctors                      3.2
devel/hs-either                          3.1
devel/hs-errors                          1.3.1
devel/hs-generic-deriving                1.4.0
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Dec 2012 02:23:06
Original commit files touched by this commit  0.16.4
Revision:309275
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.4.2
- Update Haskell Platform to version 2012.4.0.0
- Update Gtk2Hs to 0.12.4
- Transfer maintainership of math/hs-math-functions to haskell@ [1]

Please note that port revisions for all the Haskell ports without version
changes are bumped.

Some further highlights of the update:
- Trim Makefile headers
- Enable dynamic libraries and dynamic linking by default
- Enable bootstrapping by versions of GHC and HsColour already installed
- Use GCC and binutils from ports

New ports (32):
(Only the first 15 lines of the commit message are shown above View all of this commit message)
03 Aug 2012 02:30:11
Original commit files touched by this commit  0.16.3_3
pgj search for other commits by this committer
- Teach the Haskell Cabal ports to use the new options framework
- Remove some cruft

Obtained from:	FreeBSD Haskell
03 Jun 2012 20:52:29
Original commit files touched by this commit  0.16.3_2
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.4.1

Please note that port revision for all the Haskell ports without version changes
are also bumped.  Other per-port updates are coming soon (in separate commits)!
In addition to that, separate -docs ports are no longer needed so they are
now removed.

Thanks ashish@ for the assistance.

Obtained from:  FreeBSD Haskell
13 Feb 2012 03:49:33
Original commit files touched by this commit  0.16.3_1
pgj search for other commits by this committer
- Please welcome GHC 7.0.4

GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped.  Other per-port
updates are coming soon.

This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.

Thanks ashish@ for the help!

Obtained from:  FreeBSD Haskell
10 Jul 2011 01:23:43
Original commit files touched by this commit  0.16.3
ashish search for other commits by this committer
- Update to 0.16.3

Obtained from:  FreeBSD Haskell
09 May 2011 05:28:57
Original commit files touched by this commit  0.16.2_1
ashish search for other commits by this committer
- Please welcome GHC 7.0.3

GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.

We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.

We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.

PR:             ports/156642
Approved by:    tabthorpe (mentor)
Obtained from:  FreeBSD Haskell
08 Aug 2010 08:49:38
Original commit files touched by this commit  0.16.2
pgj search for other commits by this committer
- Add DIST_SUBDIR for Haskell Cabal ports (with default of "cabal")

Suggested by:   admi3
15 May 2010 18:59:08
Original commit files touched by this commit  0.16.2
pgj search for other commits by this committer
- Update to 0.16.2
12 May 2010 16:33:59
Original commit files touched by this commit  0.16.0_3
pgj search for other commits by this committer
Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports.  It promises both easier addition and
maintenance for Cabal-based ports.
19 Apr 2010 10:43:43
Original commit files touched by this commit  0.16.0_3
ale search for other commits by this committer
Switch to use newer GMP version.

PR:             ports/144487
Submitted by:   ale
Approved by:    portmgr (-exp run by erwin)
02 Sep 2009 15:38:45
Original commit files touched by this commit  0.16.0_2
pgj search for other commits by this committer
- Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
  port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
  with GHC 6.10.4

PR:             ports/137055, ports/137058, ports/137059, ports/137060,
ports/137061,
                ports/137062, ports/137063, ports/137063, ports/137064,
ports/137065,
                ports/137066, ports/137067, ports/137068, ports/137069,
ports/137070,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13 May 2009 09:46:02
Original commit files touched by this commit  0.16.0_1
ale search for other commits by this committer
Chase libgmp and bump PORTREVISION.
06 Mar 2009 19:48:54
Original commit files touched by this commit  0.16.0
pgj search for other commits by this committer
- Update to 0.16.0

Approved by:    tabthorpe
20 Jul 2008 14:54:33
Original commit files touched by this commit  0.15.1_1
obraun search for other commits by this committer
Add ghc as run depend, since c2hs installs files in ghc's cabal dir, and make
portlint happier.
18 Jul 2008 20:05:17
Original commit files touched by this commit  0.15.1_1
obraun search for other commits by this committer
Upgrade ghc to 6.8.3.
11 Feb 2008 18:55:20
Original commit files touched by this commit  0.15.1
obraun search for other commits by this committer
Update to 0.15.1.
09 Nov 2007 08:09:20
Original commit files touched by this commit  0.15.0
vs search for other commits by this committer
Fix packaging blunder: install supporting file where it belongs

Approved by: portmgr (linimon)
01 Nov 2007 09:37:57
Original commit files touched by this commit  0.15.0
vs search for other commits by this committer
Unbreak by updating to 0.15.0

Approved by: portmgr (erwin)
19 May 2007 20:32:57
Original commit files touched by this commit  0.13.6_3
flz search for other commits by this committer
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
24 Mar 2007 20:55:07
Original commit files touched by this commit  0.13.6_2
obraun search for other commits by this committer
Mark broken with ghc 6.6.

Reported by:    kris (bento)
17 May 2006 06:38:42
Original commit files touched by this commit  0.13.6_2
vs search for other commits by this committer
Chase GHC update
22 Jan 2006 08:30:12
Original commit files touched by this commit  0.13.6_2
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
12 Jan 2006 12:54:32
Original commit files touched by this commit  0.13.6_2
sem search for other commits by this committer
- Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.

While I'm here:
- Remove USE_MESA knob where it was (35 ports).
  It marked as depricated for 2 years.

PR:             ports/90247
Submitted by:   Ermal Lu?i <eri--@albabsd.org>
14 Oct 2005 12:09:50
Original commit files touched by this commit  0.13.6_1
vs search for other commits by this committer
Chase update of lang/ghc
18 May 2005 19:43:34
Original commit files touched by this commit  0.13.6
obraun search for other commits by this committer
Upgrade to 0.13.6.
12 Apr 2005 11:42:41
Original commit files touched by this commit  0.13.4
vs search for other commits by this committer
Fix dependency. The port remains BROKEN though as it still hasn't been
updated to work with the latest GHC.
10 Apr 2005 21:41:59
Original commit files touched by this commit  0.13.4
kris search for other commits by this committer
BROKEN: Broken dependency
19 Oct 2004 17:50:58
Original commit files touched by this commit  0.13.4
obraun search for other commits by this committer
Upgrade to 0.13.4.
17 Oct 2004 09:25:00
Original commit files touched by this commit  0.13.2
obraun search for other commits by this committer
Upgrade ghc to 6.2.2, remove BROKEN, make portlint a little bit happier.
16 Oct 2004 20:00:41
Original commit files touched by this commit  0.13.2
obraun search for other commits by this committer
Upgrade to 0.13.2.
16 Jul 2004 15:44:18
Original commit files touched by this commit  0.13.1
vs search for other commits by this committer
Minor portlint-spree, including fixes for package-building hs-tclhaskell-ghc
and hs-c2hs on the cluster (for 4.X).
11 Jun 2004 16:08:40
Original commit files touched by this commit  0.13.1
obraun search for other commits by this committer
Upgrade to 0.13.1.
25 Mar 2004 08:29:28
Original commit files touched by this commit  0.12.0
obraun search for other commits by this committer
ghc-6.2.1 is now in the tree
11 Mar 2004 07:48:13
Original commit files touched by this commit  0.12.0
obraun search for other commits by this committer
deUSE_SIZEify.
06 Mar 2004 21:29:59
Original commit files touched by this commit  0.12.0
obraun search for other commits by this committer
Set maintainer to the new created haskell@ mail alias.
25 Feb 2004 11:40:09
Original commit files touched by this commit  0.12.0
obraun search for other commits by this committer
Make c2hs buildable with either ghc6 (default) or ghc5.

Submitted by:   Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
15 Feb 2004 13:12:38
Original commit files touched by this commit  0.12.0
obraun search for other commits by this committer
Upgrade to 0.12.0
04 Feb 2004 05:21:48
Original commit files touched by this commit  0.11.5_1
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
31 Jan 2004 11:16:48
Original commit files touched by this commit  0.11.5
obraun search for other commits by this committer
SIZE-ify
16 Jan 2004 12:09:13
Original commit files touched by this commit  0.11.5
obraun search for other commits by this committer
Use lang/ghc5
10 Jun 2003 08:24:54
Original commit files touched by this commit  0.11.5
obraun search for other commits by this committer
* Upgrade to 0.11.5.
* Remove WITH_PROFILE knob.
09 Jun 2003 21:45:09
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
Use ghc --numeric-version.
09 Jun 2003 18:39:28
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
Remove ghc's package.conf.old.

Pointed out by: kris, bento
18 Feb 2003 10:50:48
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
De-pkg-comment and make portlint a little bit happier.
20 Nov 2002 09:10:55
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
Add the new virtual category haskell.
05 Nov 2002 21:55:21
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
Use PORTCOMMENT variable instead of pkg-comment file.
17 Sep 2002 20:11:48
Original commit files touched by this commit  0.10.17
obraun search for other commits by this committer
Upgrade to 0.10.17.
07 Sep 2002 20:07:41
Original commit files touched by this commit  0.10.16
obraun search for other commits by this committer
* Upgrade to 0.10.16.
* Add knob WITH_PROFILE.
04 Sep 2002 18:39:09
Original commit files touched by this commit  0.10.15
obraun search for other commits by this committer
Add prefix `hs-' for Haskell related ports after repo copy.
Remove Haskell ports without prefix.

Number of commits found: 57

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
curlApr 11
dbus-glibApr 11
libaudiofileApr 11
linux-f10-curlApr 11
linux-f10-dbus-glibApr 11
linux-f10-libaudiofileApr 11
linux-f10-nas-libsApr 11
linux-f10-openldapApr 11
mingw32-openssl*Apr 11
mingw32-opensslApr 11
nasApr 11
openssl*Apr 11
opensslApr 11
linux-f10-openssl*Apr 10
linux-f10-openssl*Apr 10

13 vulnerabilities affecting 34 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24361
Broken 174
Deprecated 85
Ignore 526
Forbidden 4
Restricted 263
No CDROM 108
Vulnerable 27
Expired 8
Set to expire 70
Interactive 22
new 24 hours 2
new 48 hours5
new 7 days16
new fortnight36
new month148

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.