ports/lang/ghc/files/patch-libraries_base_base.cabal
2021-06-12 13:14:09 +03:00

12 lines
389 B
Text

--- libraries/base/base.cabal.orig 2021-06-05 13:37:03 UTC
+++ libraries/base/base.cabal
@@ -404,6 +404,9 @@ Library
System.CPUTime.Posix.RUsage
System.CPUTime.Unsupported
+ if os(freebsd)
+ cc-options: -DLIBICONV_PLUG
+
-- We need to set the unit id to base (without a version number)
-- as it's magic.
ghc-options: -this-unit-id base