
I think that an answer could be to use -E instead of -r (http://www.freebsd.org/cgi/man.cgi?query=sed) although this will
#9465: configure: sed: illegal option -- r -------------------------------------+------------------------------------- Reporter: jrp | Owner: pgj Type: bug | Status: new Priority: normal | Milestone: Component: Build | Version: 7.8.3 System | Keywords: sed Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 Unknown/Multiple | hour) Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by pgj): Replying to [comment:3 jrp]: presumably not be compatible with gnu sed. For what it is worth, to my findings, GNU sed actually supports the {{{-E}}} flag, but it is not documented on its manual page.
Did the repvious version not work at all with BSD?
No, it did not work with FreeBSD. We had a solution in the Ports Collection for that, so I naively thought that it could be just put upstream, but apparently I was (quite) wrong. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9465#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler