openbsd-ports/lang/ghc/patches/patch-ghc_rts_package_conf_in
2004-04-26 23:48:50 +00:00

19 lines
724 B
Plaintext

$OpenBSD: patch-ghc_rts_package_conf_in,v 1.3 2004/04/26 23:48:50 dons Exp $
Added extra ld options for the runtime system so it can find
libgmp. There is code in mk/package.mk that will:
s/LOCALBASE/${LOCALBASE}/
so that this points to the right place. This is required so that
Haskell programs, which pull in the shared runtime system, can
find gmp.
--- ghc/rts/package.conf.in.orig Sat May 17 10:11:27 2003
+++ ghc/rts/package.conf.in Wed Aug 6 15:12:45 2003
@@ -133,6 +133,7 @@
, "-u", "GHCziWeak_runFinalizzerBatch_closure"
, "-u", "__stginit_Prelude"
#endif
+ , "-L", "LOCALBASE/lib"
]
#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
, extra_frameworks = [ "HaskellSupport" ]