diff options
Diffstat (limited to 'lang/ghc/files/patch-rts_package.conf.in')
-rw-r--r-- | lang/ghc/files/patch-rts_package.conf.in | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/lang/ghc/files/patch-rts_package.conf.in b/lang/ghc/files/patch-rts_package.conf.in index e3f4f73239ea..de5040db75e7 100644 --- a/lang/ghc/files/patch-rts_package.conf.in +++ b/lang/ghc/files/patch-rts_package.conf.in @@ -1,23 +1,20 @@ - -$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 +--- ./rts/package.conf.in.orig 2012-06-06 19:10:25.000000000 +0200 ++++ ./rts/package.conf.in 2013-01-30 19:04:28.000000000 +0100 +@@ -33,6 +33,9 @@ #ifdef HAVE_LIBDL , "dl" #endif -@@ -141,6 +138,7 @@ - , "-u", "base_GHCziConc_runSparks_closure" - , "-u", "base_GHCziConc_runHandlers_closure" ++#ifdef HAVE_LIBFFI ++ , "ffi" ++#endif + #ifdef mingw32_HOST_OS + ,"wsock32" /* for the linker */ + #endif +@@ -138,6 +141,7 @@ + , "-u", "base_GHCziConcziSync_runSparks_closure" + , "-u", "base_GHCziConcziSignal_runHandlers_closure" #endif -+ , "-L%%LOCALBASE%%/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. |