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

Ryan Schmidt ryandesign at macports.org
Sun Dec 7 17:30:51 PST 2008


On Dec 7, 2008, at 04:56, Joshua Root wrote:

> 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.

Xquartz doesn't exist? Why would we want to create a symlink to  
something that doesn't exist?


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

Right.



More information about the macports-dev mailing list