Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2013 13:43:10 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315636 - in head: . devel/hs-BNFC devel/hs-uuagc lang/ghc math/hs-Agda textproc/hs-pandoc
Message-ID:  <201303311343.r2VDhAHQ060021@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Sun Mar 31 13:43:10 2013
New Revision: 315636
URL: http://svnweb.freebsd.org/changeset/ports/315636

Log:
  - 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

Modified:
  head/UPDATING
  head/devel/hs-BNFC/Makefile
  head/devel/hs-uuagc/Makefile
  head/lang/ghc/bsd.cabal.mk
  head/math/hs-Agda/Makefile
  head/textproc/hs-pandoc/Makefile

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/UPDATING	Sun Mar 31 13:43:10 2013	(r315636)
@@ -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

Modified: head/devel/hs-BNFC/Makefile
==============================================================================
--- head/devel/hs-BNFC/Makefile	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/devel/hs-BNFC/Makefile	Sun Mar 31 13:43:10 2013	(r315636)
@@ -3,6 +3,7 @@
 
 PORTNAME=	BNFC
 PORTVERSION=	2.6.0.3
+PORTREVISION=	1
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org

Modified: head/devel/hs-uuagc/Makefile
==============================================================================
--- head/devel/hs-uuagc/Makefile	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/devel/hs-uuagc/Makefile	Sun Mar 31 13:43:10 2013	(r315636)
@@ -3,7 +3,7 @@
 
 PORTNAME=	uuagc
 PORTVERSION=	0.9.42.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org

Modified: head/lang/ghc/bsd.cabal.mk
==============================================================================
--- head/lang/ghc/bsd.cabal.mk	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/lang/ghc/bsd.cabal.mk	Sun Mar 31 13:43:10 2013	(r315636)
@@ -174,6 +174,7 @@ CONFIGURE_ARGS+=	--haddock-options=-w --
 
 .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

Modified: head/math/hs-Agda/Makefile
==============================================================================
--- head/math/hs-Agda/Makefile	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/math/hs-Agda/Makefile	Sun Mar 31 13:43:10 2013	(r315636)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Agda
 PORTVERSION=	2.3.2
+PORTREVISION=	1
 CATEGORIES=	math haskell
 
 MAINTAINER=	haskell@FreeBSD.org

Modified: head/textproc/hs-pandoc/Makefile
==============================================================================
--- head/textproc/hs-pandoc/Makefile	Sun Mar 31 13:32:29 2013	(r315635)
+++ head/textproc/hs-pandoc/Makefile	Sun Mar 31 13:43:10 2013	(r315636)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pandoc
 PORTVERSION=	1.11.1
+PORTREVISION=	1
 CATEGORIES=	textproc haskell
 
 MAINTAINER=	haskell@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303311343.r2VDhAHQ060021>