#8262 closed defect (fixed)
BUG: mzscheme (and others) path errors
Reported by: | mge@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
mzc (the mzscheme compiler) as well as other files installed by mzscheme have path errors when they are run. This is due to the port first being installed in destroot so these (generated) shell scripts have the incorrect paths in them.
A fix that works for me is to add:
reinplace "s|PLTHOME=\"${destroot}${prefix}\"|PLTHOME=\"${prefix}\"|" ${destroot}${prefix}/bin/mzc \
${destroot}${prefix}/bin/mzpp \ ${destroot}${prefix}/bin/mztext \ ${destroot}${prefix}/bin/pdf-slatex \ ${destroot}${prefix}/bin/planet \ ${destroot}${prefix}/bin/setup-plt \ ${destroot}${prefix}/bin/slatex \ ${destroot}${prefix}/bin/swindle \ ${destroot}${prefix}/bin/tex2page \ ${destroot}${prefix}/bin/web-server-monitor \ ${destroot}${prefix}/bin/web-server-setup \ ${destroot}${prefix}/bin/web-server-text
To the post-destroot commands. This sets a correct default for the PLTHOME environment varible.
Change History (4)
comment:1 Changed 18 years ago by markd@…
Summary: | BUG: mzc (and others) path errors → BUG: mzscheme (and others) path errors |
---|
comment:2 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:3 Changed 17 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r28925.