[MacPorts] #19747: ghc 6.10.3 using hard coded /opt/local
MacPorts
noreply at macports.org
Thu May 28 12:19:30 PDT 2009
#19747: ghc 6.10.3 using hard coded /opt/local
--------------------------------+-------------------------------------------
Reporter: dmathers@… | Owner: gwright@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: ghc
--------------------------------+-------------------------------------------
Comment(by marcin.zalewski@…):
This fixed it for me (edit in Portfile):
{{{
199c199
< reinplace "s|XXPATH_TO_GMP_LIBRARYXX|${prefix}/lib|"
${worksrcpath}/compiler/ghc.cabal.in
---
> # reinplace "s|XXPATH_TO_GMP_LIBRARYXX|${prefix}/lib|"
${worksrcpath}/compiler/ghc.cabal.in
203,204d202
< reinplace "s|/opt/local/lib|${prefix}/lib|g" ${workpath
}/ghc-bootstrap/lib/ghc-${ghc_bootversion}/package.conf
<
}}}
I am not sure if the first edit is actually necessary, but I do not want
to recompile my GHC anymore. :)
--
Ticket URL: <http://trac.macports.org/ticket/19747#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list