Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Developer FreeBSD Haskell "overlay" for the mighty FreeBSD Ports Collection. Use with caution, slippery when wet, etc.
Makefile Haskell C Other

lang/ghc: Bring in changes from DragonFly

Submitted by:	marino
PR:			202566
latest commit d7e1088d34
@pgj pgj authored
Failed to load latest commit information.
archivers Integrate from the Ports Collection.
audio Integrate from the Ports Collection.
benchmarks/hs-criterion benchmarks/hs-criterion: -->
converters converters/hs-dataenc: Fix build with GHC 7.10
databases databases/hs-esqueleto: 2.2.10 --> 2.4.1
editors editors/hs-yi: Fix build with recent version of vty
ftp/hs-curl Integrate from the Ports Collection.
games/hedgewars Integrate from the Ports Collection.
graphics graphics/hs-JuicyPixels: --> 3.2.6
irc irc/hs-irc: -->
lang lang/ghc: Bring in changes from DragonFly
mail mail/hs-mime-string: Fix build with GHC 7.10
math Integrate from the Ports Collection.
net-im/hs-haskell-xmpp net-im/hs-haskell-xmpp: Fix build with GHC 7.10
net-p2p/hs-torrent net/hs-torrent --> net-p2p/hs-torrent
net Integrate from the Ports Collection.
ports-mgmt/hs-porte ports-mgmt/hs-porte: Fix build with GHC 7.10
print/hs-hscolour print/hs-hscolour: 1.20.3 --> 1.23
science/hs-bio science/hs-bio: Fix build with GHC 7.10
security Integrate from the Ports Collection.
shells shells/hs-shelly: -->
sysutils Integrate from the Ports Collection.
textproc Integrate from the Ports Collection.
www Integrate from the Ports Collection.
x11-toolkits x11-toolkits/hs-wxdirect: Add line ending conversion
x11-wm x11-wm/hs-xmonad-contrib: 0.11.3 --> 0.11.4
x11 Integrate from the Ports Collection. Update README: s/GNATS/Bugzilla/, refer to the wiki for contributions


This repository is to provide support for working with the Glorious Glasgow Haskell Compilation System and Haskell Cabal on FreeBSD, it hosts the work of volunteers interested in maintaining such ports. It considered a highly experimental collection and it may contain ports that are not present in the Ports Collection currently.

How to Use

In order to use the ports in this repository, you will have to install portshaker(8) and its configuration files, be sure you are selecting the HASKELL option:

# cd /usr/ports/ports-mgmt/portshaker-config
# make install clean

Start portshaker(8), and answer the questions (if there is any). They usually refer to colluding ports where the recommended answer is install or simply i.

# portshaker -v

You can use the ports as usual after the process has finished.

Binary Packages

It is also possible to use binary packages built from these ports via pkg(8). Note that these packages are not supported officially and may not be consistent with the packages in the official FreeBSD pkg(8) repository, so use them at your own risk! They are also updated on a best-effort basis, although you can find packages for all supported architectures and versions there.

First, you will have to make sure that pkg(8) is installed on your system and your ports are all converted to this new format. Consult the FreeBSD Handbook on the details.

Configure the corresponding package repository. That is, create a Haskell.conf file under $LOCALBASE/etc/pkg/repos, with the following contents:

Haskell: {
  url: "${ABI}/latest",
  enabled: yes

Finally, fetch the latest version of the repository catalogue:

# pkg update

Now you are ready to install or upgrade binary packages from this repository via the standard pkg(8) commands. For example, installing or updating Haskell Platform requires this single command only:

# pkg install hs-haskell-platform

How to Report Bugs

Let us know if you have problems with installing and using the ports in the repository, because receiving feedback is always useful, and definitely a way to get your issues fixed :-)

There are many different ways to report bugs.

Note: Please, do not use FreeBSD Bugzilla to report issues with these ports because it is mainly for ports in the Ports Collection.

How to Contribute

Do not forget to contribute your fixes if you already have a patch for a known problem! You can use the same interface as for reporting bugs. Change requests and new ports are also welcome.

For more information on the technical details, please see the wiki or simply get in touch by the one of the communication channels mentioned above.

Something went wrong with that request. Please try again.