#26488: ghc depends on perl 5.8 and perl 5.8 conflicts with perl 5.12 --------------------------------+------------------------------------------- Reporter: takano32@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ghc ghc-devel --------------------------------+------------------------------------------- Comment(by psarge@…): According to the Darcs changelog on this file, it was fixed back in 2007 to work with Perl 5.9+. I expect the limitation is outdated. Wed Jul 11 19:24:30 BST 2007 audreyt@audreyt.org * * Evil Mangler broke under Perl 5.9+ because $* is gone; this fixes it. Perl 4's special variable $* controls multi-line matching; it's been deprecated from Perl 5's inception, and is finally removed in Perl versions 5.9 (soon to be 5.10). Since GHC depends on Perl 5.6+ anyway, this patch introduces an equivalent effect to $* without using that special variable, by hooking into Perl's regex parsing process to add the /m flag. Wed Jul 11 22:04:49 BST 2007 audreyt@audreyt.org * In mangler, lift the multiline-match pragma to toplevel and document it better. Thu Jul 12 06:43:51 BST 2007 audreyt@audreyt.org * Revert the $* patch for earlier Perls as it breaks the build. Sorry. :/ Mon Jul 30 13:22:16 BST 2007 audreyt@audreyt.org * * ghc-asm: Finally did away with $* in a way that works with Perl 5.6~5.10+, by appending /m to all regexes. -- Ticket URL: <https://trac.macports.org/ticket/26488#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS