diff options
Diffstat (limited to 'lang/ghc/files/patch-rts_package.conf.in')
-rw-r--r-- | lang/ghc/files/patch-rts_package.conf.in | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/lang/ghc/files/patch-rts_package.conf.in b/lang/ghc/files/patch-rts_package.conf.in index 464064005f54..4732ffc6ebe9 100644 --- a/lang/ghc/files/patch-rts_package.conf.in +++ b/lang/ghc/files/patch-rts_package.conf.in @@ -1,11 +1,23 @@ ---- rts/package.conf.in.orig 2009-07-14 19:10:52.000000000 +0200 -+++ rts/package.conf.in 2009-08-13 22:09:10.000000000 +0200 -@@ -156,6 +156,8 @@ - , "-u", "base_GHCziConc_ensureIOManagerIsRunning_closure" + +$FreeBSD$ + +--- rts/package.conf.in.orig ++++ rts/package.conf.in +@@ -31,9 +31,6 @@ + #ifdef HAVE_LIBM + "m" /* for ldexp() */ #endif +-#ifdef HAVE_LIBRT +- , "rt" +-#endif + #ifdef HAVE_LIBDL + , "dl" + #endif +@@ -141,6 +138,7 @@ + , "-u", "base_GHCziConc_runSparks_closure" + , "-u", "base_GHCziConc_runHandlers_closure" + #endif ++ , "-L/usr/local/lib" -+ , "-L%%LOCALBASE%%/lib" -+ /* Pick up static libraries in preference over dynamic if in earlier search * path. This is important to use the static gmp in preference on Mac OS. - * The used option is specific to the Darwin linker. |