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

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu May 31 06:42:04 PDT 2012


> Yep, When doing that the links where absolute, the key is the call to
> cd. As we don't have a cd macro anymore the only way I could see to do
> this was using a system call.

Ah I see, it wasn't a typo after all: you meant absolute paths not hard links.

Here's one without a cd needed:
ln -s ${prefix}/bin/pbunzip2 ${destroot}${prefix}/bin/pbunzip2
ln -s ${prefix}/bin/pbunzip2 ${destroot}${prefix}/bin/pbzcat 

No matter where you move pbunzip2 and pbzcat from the destroot, they'll always point to ${prefix}/bin/pbunzip2.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120531/c926c78a/attachment-0001.bin>


More information about the macports-dev mailing list