[MacPorts] #18302: MacPorts doesn't recreate manpage symlink after compressing manpage if symlink is absolute
MacPorts
noreply at macports.org
Sun Feb 22 00:47:53 PST 2009
#18302: MacPorts doesn't recreate manpage symlink after compressing manpage if
symlink is absolute
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone: MacPorts 1.8.0
Component: base | Version: 1.7.0
Keywords: | Port:
-------------------------------------+--------------------------------------
Comment(by perry@…):
From my brief testing, prefixing the destroot path to the absolute path is
not what you want; you end up with symlinks referencing paths in destroot.
Instead, I tried converting the absolute symlinks to relative symlinks,
which as far as I can tell (at least from the listed examples and the
following lines in portdestroot.tcl) is simply the file name:
{{{
231 set mandir [file dirname $manlink]
232 set mandirpath [file join $manpath $mandir]
233 set pwd [pwd]
234 if {[catch {_cd $mandirpath} err]} {
235 puts $err
236 return
237 }
}}}
I've gone ahead and committed this possible fix in r47111 (it fixes #18227
at least).
--
Ticket URL: <http://trac.macports.org/ticket/18302#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list