[93780] trunk/dports/archivers/pbzip2/Portfile

Joshua Root jmr at macports.org
Thu May 31 06:29:37 PDT 2012


On 2012-5-31 23:12 , Adam Mercer wrote:
> On Thu, May 31, 2012 at 6:22 AM, Jeremy Lavergne
> <jeremy at lavergne.gotdns.org> wrote:
>>> +  system "cd ${destroot}${prefix}/bin && ln -s pbzip2 pbunzip2 && ln -s pbzip2 pbzcat"
>>
>> This can be done without a system call:
>> http://guide.macports.org/#reference.tcl-extensions
> 
> How? I tried using the ln macro and that resulted in absolute links
> being using instead of relative, i.e. the links where to paths in the
> $destroot path.

Linking to a relative path should work fine. If you're specifying an
absolute path as the source, then of course that's exactly where the
link will point to.

- Josh


More information about the macports-dev mailing list