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

Ryan Schmidt ryandesign at macports.org
Sun Dec 7 02:34:19 PST 2008


On Dec 7, 2008, at 03:51, Jeremy Huddleston wrote:

> On Dec 7, 2008, at 01:16, 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
>
> tcl scares me.  Give me time, and I'll adapt ;)


:)

Actually, this was wrong anyway: you need to create the symlink (like  
everything else) in the destroot. So you need:

ln -s Xquartz ${destroot}${prefix}/bin/X





More information about the macports-dev mailing list