- Fix a minor dynamic linking problem for certain Haskell Cabal ports

- Add an UPDATING entry for description and instructions

Submitted by:	ashish
Approved by:	portmgr (miwi)
Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2013-03-31 13:43:10 +00:00
parent 584bdd7f8d
commit 77296e779c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315636
6 changed files with 20 additions and 1 deletions

View File

@ -5,6 +5,21 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20130331:
AFFECTS: users of */hs-*
AUTHOR: haskell@FreeBSD.org
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"
20130329:
AFFECTS: users of ports-mgmt/portmaster
AUTHOR: bdrewery@FreeBSD.org

View File

@ -3,6 +3,7 @@
PORTNAME= BNFC
PORTVERSION= 2.6.0.3
PORTREVISION= 1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= uuagc
PORTVERSION= 0.9.42.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org

View File

@ -174,6 +174,7 @@ CONFIGURE_ARGS+= --haddock-options=-w --with-haddock=${HADDOCK_CMD}
.if ${PORT_OPTIONS:MDYNAMIC}
CONFIGURE_ARGS+= --enable-shared --enable-executable-dynamic
CONFIGURE_ARGS+= "--ghc-option=-optl -rpath" "--ghc-option=-optl ${CABAL_LIBDIR}/${DISTNAME}"
.else
CONFIGURE_ARGS+= --disable-shared --disable-executable-dynamic
.endif

View File

@ -3,6 +3,7 @@
PORTNAME= Agda
PORTVERSION= 2.3.2
PORTREVISION= 1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org

View File

@ -3,6 +3,7 @@
PORTNAME= pandoc
PORTVERSION= 1.11.1
PORTREVISION= 1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org