[131256] trunk/dports/lang/ghc/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Jan 8 05:14:22 PST 2015


On Jan 8, 2015, at 6:59 AM, Clemens Lang wrote:
> 
> On 8 Jan, 2015, at 11:11, Ryan Schmidt wrote:
> 
>>> ghc: attempt to fix build on ML and below
>>> 
>>> Error is:
>>> 	libraries/Cabal/Cabal/Distribution/Version.hs:700:19:
>>> 		Parse error in pattern: Parse.skipSpaces
>>> 	make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
>>> which is caused by GHC's uncommon requirements towards the C preprocessor. Only
>>> recent clang versions are compatible with GHC.
>> 
>> Would using the traditional C preprocessor in the tradcpp port help, like it did
>> for imake?
> 
> It might, but I'm not sure how to configure GHC to use a preprocessor that is not
> also the C compiler. Especially since I can either (a) add a dependency on a newer
> clang, or (b) add a dependency on tradcpp, I'd rather go with clang to make the
> port behave as similar to Mavericks and Yosemite as possible.

If tradcpp works, you could use it on all platforms, for consistency.



More information about the macports-dev mailing list