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

Joshua Root jmr at macports.org
Sun Dec 7 21:54:49 PST 2008


Jeremy Huddleston wrote:
> On Dec 7, 2008, at 19:34, Joshua Root wrote:
>> Ryan Schmidt wrote:
>>> On Dec 7, 2008, at 04:56, Joshua Root wrote:
>>>> Ryan Schmidt wrote:
>>>>> 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?
>>
>> ${destroot}${prefix}/bin/Xquartz exists, but Xquartz doesn't exist
>> unless the interpreter's working directory is ${destroot}${prefix}/bin,
>> which I don't think is the case.
>>
>> And to answer your question more generally, you often want to link to
>> something in ${prefix} which won't be there until the port is activated.
> 
> Right... but "Xquartz" is a relative-path link and what I was intending.

I know that's what you intended, the point was I don't think Tcl would
cope with it. Thus justifying your use of system post hoc. :-)

- Josh


More information about the macports-dev mailing list