Port details |
- ghc Compiler for the functional language Haskell
- 9.6.6_2 lang
=25 9.6.6_2Version of this port present on the latest quarterly branch. - Maintainer: haskell@FreeBSD.org
 - Port Added: unknown
- Last Update: 2024-12-21 12:30:53
- Commit Hash: 344cf93
- People watching this port, also watch:: gnupg, curl, sudo, zsh, libxml2
- Also Listed In: haskell
- License: BSD3CLAUSE
- WWW:
- https://www.haskell.org/ghc/
- Description:
- The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
interactive environment for the functional language Haskell. Highlights:
* Supports the entire Haskell 2010 language plus a wide variety of
extensions.
* Has particularly good support for concurrency and parallelism, including
support for Software Transactional Memory (STM).
* Generates fast code, particularly for concurrent programs.
* Works on several platforms including FreeBSD, Windows, Mac, Linux, most
varieties of Unix, and several different processor architectures.
* Has extensive optimisation capabilities, including inter-module optimisation.
* Compiles Haskell code either directly to native code or using LLVM as a
back-end. It can also generate C code as an intermediate target for porting
to new platforms. The interactive environment compiles Haskell to bytecode,
and supports execution of mixed bytecode/compiled programs.
* Profiling is supported, both by time/allocation and various kinds of heap
profiling.
* Comes with several libraries, and thousands more are available on Hackage.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/ghc/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/ghc
- pkg install ghc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ghc
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1720354511
SHA256 (ghc-9.6.6-src.tar.xz) = 008f7a04d89ad10baae6486c96645d7d726aaac7e1476199f6dd86c6bd9977ad
SIZE (ghc-9.6.6-src.tar.xz) = 29443464
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- lang/ghc810
- lang/ghc92
- lang/ghc94
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libgmp.so : math/gmp
- sphinx-build : textproc/py-sphinx
- gmake>=4.4.1 : devel/gmake
- python3.11 : lang/python311
- libncursesw.so.8 : misc/compat12x
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- perl5>=5.36<5.37 : lang/perl5.36
- Library dependencies:
-
- libffi.so : devel/libffi
- libgmp.so : math/gmp
- libffi.so : devel/libffi
- This port is required by:
- for Build
-
- biology/abyss
- cad/hs-verismith
- cad/yosys-systemverilog
- converters/hs-aeson-pretty
- converters/hs-dhall-bash
- converters/hs-dhall-json
- converters/hs-dhall-yaml
-
Deleted ports which required this port:
- for Run
-
- x11-wm/hs-xmonad
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for ghc-9.6.6_2:
DOCS=on: Build and install HTML documentation
DYNAMIC=on: Add support for dynamic linking
GMP=on: Use GNU Multi-precision Library from Ports
PDFDOCS=off: Build and install PDF documentation
PROFILE=on: Add support for performance profiling
====> Bootsrap using installed ghc
BOOT=off: Use installed GHC for bootstrapping
===> Use 'make config' to modify these settings
- Options name:
- lang_ghc
- USES:
- autoreconf compiler:c11 gmake ncurses perl5 python:build shebangfix tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.6.1_2 30 Sep 2007 03:51:08
 |
linimon  |
Switch autoconf dependency to 2.61.
PR: ports/116639
Submitted by: aDe |
6.6.1_1 29 Sep 2007 20:57:27
 |
linimon  |
Move the USE_PERL definitions, and others, before pre.mk inclusion. This
will be needed to conditionalize bsd.perl.mk inclusion.
Approved by: maintainer |
6.6.1_1 17 Sep 2007 05:43:55
 |
vs  |
Re-structure support for libraries in GHC:
This commit splits off the supporting libraries that pull in additional
dependencies like X11 and GL. These will be provided by separate ports
like x11/hs-x11-ghc using the "Cabal"-mechanism (a framework for installing
additional libraries into Haskell environments like GHC and NHC).
Accordingly, the libraries will put their files into a subdirectory of GHC.
List of libraries that have been split off: ALUT GLUT HGL OpenAL OpenGL X11
Also, finally remove dependency on devel/readline: the current readline in
base has all the features we need.
Bump PORTREVISION accordingly.
Tested through Tinderbox runs on lang/ghc and devel/darcs. Please be patient
for the supporting libraries to roll in in the next few days. All screwups
are my fault only and should not be attributed to haskell@. |
6.6.1 08 Sep 2007 01:00:17
 |
linimon  |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr |
6.6.1 23 Jun 2007 10:25:51
 |
obraun  |
Update to 6.6.1. |
6.6_1 19 May 2007 20:32:57
 |
flz  |
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}. |
6.6 15 Feb 2007 05:13:41
 |
vs  |
Use MASTER_SITE_LOCAL for our own boot-file |
6.6 24 Jan 2007 23:55:36
 |
obraun  |
Moved bootstrap tarball to haskell.org. Therefore readd master site. |
6.6 22 Jan 2007 05:06:44
 |
vs  |
Update lang/ghc to 6.6
Also fixes readline issue reported in PR ports/107380.
OpenAL support is not yet fixed, we might break that out into a
separate port, now that the upstream infrastructure is in place.
Your haskell@ team, Olli & Volker |
6.4.2_1 23 Jun 2006 10:56:50
 |
vs  |
Mark as BROKEN on -CURRENT until there's such thing as compat6x or somebody
does a bootstrap. libmapping the newer libs seems not to work. |
6.4.2_1 13 Jun 2006 17:34:59
 |
oliver  |
make portlint happier
PR: ports/96548
Approved by: previous maintainer |
6.4.2_1 29 May 2006 08:14:05
 |
vs  |
Assign to haskell@FreeBSD.org: Simon hasn't enough time to care for the FreeBSD
version
and most of the problems with the port are my fault anyway.
Approved by: maintainer |
6.4.2_1 28 May 2006 09:30:51
 |
vs  |
- Enable build for 5.x
- Prune compat5 from LIB_DEPENDS on 6.x as it has been redundant for a while. |
6.4.2_1 17 May 2006 07:08:26
 |
vs  |
Mark as IGNORE for < 6.x as we do not have a bootstrap-tarball yet. |
6.4.2_1 10 May 2006 14:46:48
 |
ale  |
Chase gmp library and bump PORTREVISION. |
6.4.2 08 May 2006 09:51:18
 |
vs  |
Update to 6.4.2
This build uses an unthreaded RTS, please see the GHC mailing lists for
details and report any problems you observe (eg. non-termination/segfaults in
compiled binaries).
Approved by: cabal |
6.4.1_1 01 May 2006 11:23:17
 |
vs  |
Unbreak by disconnecting OpenAL support for now. The version in ports
seems to be different from the one GHC expects.
Approved by: Haskell cabal |
6.4.1_1 30 Jan 2006 11:48:01
 |
edwin  |
SHA256ify
APproved by: krion@ |
6.4.1_1 12 Jan 2006 12:54:32
 |
sem  |
- 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> |
6.4.1 06 Jan 2006 09:36:41
 |
vs  |
Honour WITHOUT_X11.
Note that except for OpenAL the --without-foo flags to configure are currently
ignored, so some post-configure intervention is required to get this right
when X11 is present but not desired.
Requested by: Yuri Karaban
Approved by: maintainer (cabal) |
6.4.1 15 Nov 2005 06:52:12
 |
ade  |
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run. |
6.4.1 16 Oct 2005 20:30:58
 |
vs  |
Requires newer version of perl than base in 4.x |
6.4.1 15 Oct 2005 15:10:57
 |
obraun  |
Update distinfo, since I have rerolled the boostrap tarball on haskell.org. |
6.4.1 14 Oct 2005 12:01:18
 |
vs  |
Update to 6.4.1
Approved by: maintainer (cabal) |
6.4_2 26 Aug 2005 05:22:42
 |
krion  |
Fix build on 6.x
Submitted by: lesi
Approved by: portmgr (self) |
6.4_2 28 Jun 2005 06:45:28
 |
vs  |
Add off-site patches partially obtained from CVS to enable libglut (fixes to
include-path)
and OpenAL (needs -pthread). This requires running $AUTOCONF after patching the
autoconf-files. Bump PORTREVISION.
Requested by: Ron de Bruijn
Approved by: maintainer (Haskell cabal) |
6.4_1 23 Mar 2005 08:43:18
 |
vs  |
Set USE_GL to pull in missing stuff
Noticed by: krisbot
Tested by: obraun@
Approved by: portmgr (marcus) |
6.4_1 20 Mar 2005 21:53:50
 |
vs  |
Resurrect patch to bring libgmp into scope which got accidently dropped on
the recent upgrade.
Approved by: Haskell cabal |
6.4 14 Mar 2005 17:32:11
 |
obraun  |
Upgrade to 6.4.
Approved by: maintainer |
6.2.2 20 Oct 2004 22:35:26
 |
obraun  |
Update checksum. Tarball has been rerolled just containing an update to the
ANNOUNCE file. |
6.2.2 17 Oct 2004 09:25:00
 |
obraun  |
Upgrade ghc to 6.2.2, remove BROKEN, make portlint a little bit happier. |
6.2.1 18 Sep 2004 17:22:26
 |
kris  |
BROKEN on 5.x: Does not compile
Approved by: portmgr (self) |
6.2.1 26 Jul 2004 12:06:07
 |
vs  |
Remove mirror.ac.uk from MASTERSITES in Haskell(-related) ports.
PR: ports/69481
Submitted by: Tim Bishop |
6.2.1 11 May 2004 19:22:26
 |
obraun  |
Add the mirror http://www.mirror.ac.uk/sites/www.haskell.org/ to MASTER_SITES.
Pointed out by: Simon Marlow <simonmar@microsoft.com> |
6.2.1 24 Mar 2004 09:48:39
 |
obraun  |
Upgrade to 6.2.1.
Approved by: maintainer |
6.2_1 04 Feb 2004 05:21:48
 |
marcus  |
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2) |
6.2 03 Feb 2004 19:06:25
 |
obraun  |
Remove this one. The contents is not true for the current port version. |
6.2 15 Jan 2004 22:56:11
 |
obraun  |
* Upgrade lang/ghc to 6.2.
* Welcome lang/ghc5 after repocopy from lang/ghc.
* Say goodbye to lang/ghc6.
* Fix dependency of devel/hs-tclhaskell-ghc and devel/hs-uni.
Approved by: portmgr (marcus), maintainer
Repocopy by: joe |
5.04.3_1 16 Dec 2003 10:08:52
 |
obraun  |
Use patches and libgmp port on -STABLE, too.
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by: maintainer |
5.04.3_1 12 Dec 2003 16:33:17
 |
obraun  |
- Fix build on -CURRENT by importing some gcc33 fixes
- Fix linker issue on -CURRENT by not using SplitObjs, same as:
http://www.haskell.org/pipermail/glasgow-haskell-users/2003-June/005289.html
- Use libgmp from ports on -CURRENT (saves further patching)
- Bump PORTREVISION
PR: ports/60155
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by: maintainer |
5.04.3 27 Mar 2003 22:55:09
 |
obraun  |
Upgrade to 5.04.3.
PR: ports/50354
Submitted by: maintainer |
5.04.2 21 Feb 2003 12:35:09
 |
knu  |
De-pkg-comment. |
5.04.2 01 Jan 2003 17:24:59
 |
obraun  |
Upgrade to 5.04.2.
PR: ports/46230
Submitted by: maintainer |
5.04.1 20 Nov 2002 09:10:55
 |
obraun  |
Add the new virtual category haskell. |
5.04.1 19 Sep 2002 14:44:29
 |
obraun  |
Add md5sum for -current bootstrap tarball. It works now on -current. |
5.04.1 18 Sep 2002 10:48:50
 |
obraun  |
Remove no longer needed patches. |
5.04.1 17 Sep 2002 20:09:56
 |
obraun  |
Upgrade to 5.04.1.
Note: This does *NOT* work on -current. The bootstrap tarball for -current is
still missing. I am working on it. However I wanted to make this new
version available on 4.7-R.
Submitted by: maintainer |
5.04_2 04 Sep 2002 19:23:39
 |
obraun  |
Fix pkg-message, after adding `hs-' prefix to Haskell ports. |
5.04_2 22 Aug 2002 12:53:38
 |
obraun  |
* Install three binaries with prefix "-ghc" to avoid problems with
textproc/haxml and devel/drift. (1)
* Add WITHOUT_PROFILE knob to install without profiling libraries. (2)
* Bump PORTREVISION.
PR: ports/41051 (1), ports/41231 (2)
Submitted by: Volker Stolz <vs@lambda.foldr.org> (2)
Approved by: maintainer, dwcjr (mentor) |
5.04_1 23 Jul 2002 01:18:29
 |
naddy  |
* All the world's an i386...
* Remove empty patch file. |
5.04_1 21 Jul 2002 16:57:24
 |
olgeni  |
I forgot to add 2 new patchfiles :( |
5.04 21 Jul 2002 14:10:56
 |
olgeni  |
Update port to version 5.04.
PR: 40779
Submitted by: Simon Marlow <simon@smarlow.com>
Reviewed by: Oliver Braun <obraun@informatik.unibw-muenchen.de> |
5.02.2 08 May 2002 16:41:24
 |
dwcjr  |
Fix for -current
PR: 36803
Submitted by: maintainer |
31 Jan 2002 11:09:01
    |
olgeni  |
Update port to version 5.02.2 and remove dependency on devel/happy from the
configuration script. |
07 Jan 2002 14:39:00
    |
olgeni  |
Update port to version 5.02.1 |
26 Feb 2001 04:40:05
    |
steve  |
Update to version 4.08.2. |
13 Oct 2000 21:17:47
    |
ade  |
Update to 4.08.1 |
08 Oct 2000 04:17:26
    |
asami  |
Convert category lang to new layout. |
24 Sep 2000 22:58:07
    |
asami  |
Add missing file (bin/ghcprof). |
12 Aug 2000 20:13:11
    |
nbm  |
Update to 4.08 |