On Thu, Jul 06, 2006 at 01:02:23PM +0200, Jon Olsson wrote:
[snip]

>  lang/ghc/ghc.port.mk                    |    5 ++

This patch was wrong, here's a correct patch, adding libgmp to 
LIB_DEPENDS:

Index: ghc.port.mk
===================================================================
RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v
retrieving revision 1.3
diff -u -r1.3 ghc.port.mk
--- ghc.port.mk 2005/02/19 03:42:11     1.3
+++ ghc.port.mk 2006/07/06 22:55:11
@@ -7,4 +7,11 @@
 #                   sparc
 
 BUILD_DEPENDS+=        bin/ghc::lang/ghc
+
+# Only add runtime when it is actually needed (by default yes)
+GHC_RUNTIME?=  YES
+.if ${GHC_RUNTIME} == "YES"
 RUN_DEPENDS+=  bin/ghc::lang/ghc
+.else
+LIB_DEPENDS+=   gmp::devel/gmp
+.endif

Reply via email to