| Port details |
- ghc92 Compiler for the functional language Haskell
- 9.2.8_2 lang
=0 9.2.8_1Version of this port present on the latest quarterly branch. DEPRECATED: Old version
EXPIRATION DATE: 2026-04-30
- Maintainer: haskell@FreeBSD.org
 - Port Added: 2023-05-27 08:50:15
- Last Update: 2026-03-19 19:25:15
- Commit Hash: d79745d
- 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 - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/ghc92/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/ghc92
- pkg install ghc92
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ghc92
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64
- distinfo:
- TIMESTAMP = 1760118652
SHA256 (ghc-9.10.3-src.tar.xz) = d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a
SIZE (ghc-9.10.3-src.tar.xz) = 32959164
Packages (timestamps in pop-ups are UTC):
- Master port: lang/ghc
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libgmp.so : math/gmp
- gmake>=4.4.1 : devel/gmake
- python3.11 : lang/python311
- libutil.so.9 : misc/compat14x
- autoconf>=2.72_1 : devel/autoconf
- automake>=1.18.1 : devel/automake
- perl5>=5.42.r<5.43 : lang/perl5.42
- Runtime dependencies:
-
- perl5>=5.42.r<5.43 : lang/perl5.42
- Library dependencies:
-
- libffi.so : devel/libffi
- libgmp.so : math/gmp
- This port is required by:
- for Build
-
- lang/elm
-
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 ghc92-9.2.8_2:
DYNAMIC=on: Add support for dynamic linking
GMP=on: Use GNU Multi-precision Library from Ports
====> Bootsrap using installed ghc
BOOT=off: Use installed GHC for bootstrapping
===> Use 'make config' to modify these settings
- Options name:
- lang_ghc92
- 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) |
| This is a slave port. You may also want to view the commits to the master port: lang/ghc |
| Commit | Credits | Log message |
9.2.8_2 19 Mar 2026 19:25:15
    |
Gleb Popov (arrowd)  |
lang/elm,lang/ghc92: Fix EXPIRATION_DATE
Fixes: b9cd2cd4ad1bfdcb2e8b5063f78b281125a303d6
79ac112ca94da159724dee297f95f48acddf0369 |
19 Mar 2026 19:21:02
  
|
Gleb Popov (arrowd)  |
lang/ghc92: Deprecate |
9.2.8_1 04 Jan 2026 21:50:42
    |
Gleb Popov (arrowd)  |
lang/ghc9*: Remove files/UserSettings.hs which isn't used anymore |
9.2.8_1 01 Sep 2025 19:10:55
    |
Gleb Popov (arrowd)  |
lang/ghc*: Make PROFILE option working again
The option does not work for lang/ghc92, so omit it from this port |
9.2.8_1 01 Sep 2025 19:10:54
    |
Gleb Popov (arrowd)  |
lang/ghc*: Make DYNAMIC option working again
There is a known problem with ghci and static linking, reported upstream:
https://gitlab.haskell.org/ghc/ghc/-/issues/26316 |
9.2.8_1 19 Jul 2025 06:15:25
    |
Gleb Popov (arrowd)  |
lang/ghc: Continue with cleanups
- Move pkg-plist.hadrian into pkg-plist. Everything is build with Hadrian now
- Fix building without GMP option |
9.2.8_1 11 Jul 2025 18:03:07
    |
Gleb Popov (arrowd)  |
lang/ghc: Continue with cleanups
- Remove INSTALL_TARGET as it is now the same for all GHCs and matches the
default
- Remove GHCs 8.10.7 from distinfo, these are unused now
- Remove USE_PERL5
- Stop generating build.mk, it isn't used by Hadrian build system
- Move BOOT_SCRIPT definition into the slave port
- Dedup BOOT_DIR |
9.2.8_1 22 Jun 2025 09:35:49
    |
Gleb Popov (arrowd)  |
lang/ghc92: Use the same GHC 9.2 as bootstrap
This removes dependency on GHC 8.10.7 as a bootstrap, and transitively - on
llvm11
PR: 287528 |
9.2.8_1 15 Mar 2025 18:10:44
    |
Emmanuel Vadot (manu)  |
lang/ghc*: Remove BUILD_DEPEND on compat12x
compat12x is only needed for ghc810 and ghc92 so remove the build depend
for lang/ghc and lang/ghc94
Reviewed by: arrowd |
9.2.8_1 30 Jun 2024 13:02:16
    |
Gleb Popov (arrowd)  |
lang/ghc9*: Restore PORTREVISIONs |
9.2.8_1 03 Apr 2024 15:52:50
    |
Rene Ladan (rene)  |
lang/ghc92: update BOOT_LLVM_VERSION to 11
This fixes a somewhat hidden dependency on the removed devel/llvm10 |
9.2.8 03 Jan 2024 19:26:11
    |
Gleb Popov (arrowd)  |
lang/ghc: Unbreak GHC 9.2 on AArch64, refresh bootstraps. |
9.2.8 03 Jun 2023 09:23:31
    |
Gleb Popov (arrowd)  |
lang/ghc92: Update to 9.2.8 |
9.2.7 27 May 2023 10:18:52
    |
Gleb Popov (arrowd)  |
lang/ghc{810,92}: Set correct BOOT_LLVM_VERSION. |
9.2.7 27 May 2023 08:44:40
    |
Gleb Popov (arrowd)  |
lang/ghc: Update to 9.4.5 |
9.2.7_2 27 May 2023 08:42:48
    |
Gleb Popov (arrowd)  |
lang/ghc92: Create slave port for GHC 9.2.7. |