[43188] trunk/dports/x11/xorg-server/Portfile

Joshua Root jmr at macports.org
Sun Dec 7 02:56:03 PST 2008


Ryan Schmidt wrote:
> On Dec 6, 2008, at 19:22, jeremyhu at macports.org wrote:
> 
>> +post-destroot {
>> +    system "ln -s Xquartz ${prefix}/bin/X"
>> +}
> 
> You don't need to use "system" to make a symlink; just write:
> 
> ln -s Xquartz ${prefix}/bin/X

Actually I think maybe you do in this case. Tcl's 'file link' won't work
when the specified link target doesn't exist.

A real problem, though, is that the link should be created in
${destroot}${prefix}, not ${prefix}.

- Josh


More information about the macports-dev mailing list