Installing Thrift-0.4.0

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Jun 14 12:04:54 PDT 2012


> Thanks Jeremy, I really appreciate it. Unfortunately, it doesn't look like any of the portfiles are for v.0.4.0. 
> 
> If I download the previous version, is there a way to use macports to ensure a smooth installation?

Ah.

In that case I'd recommend you create a local repo with just thrift in it. This means it'll take precedence over the current version in MacPorts.

There is documentation available inside the sources.conf:
/opt/local/etc/macports/sources.conf

The highlight for setting up your local repo:
mkdir -p ~/ports/devel/thrift
cp `port file thrift` ~/ports/devel/thrift/
cd ~/ports && portindex

Then you add it to your sources.conf, so you have something like this:
file:///Users/me/ports [default,nosync]
rsync://rsync.macports.org/release/ports/ 

You can then edit ~/ports/devel/thrift/Portfile to be the version you're after (change version, update checksums, anything else you see fit).

-------------- 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-users/attachments/20120614/317d7b17/attachment.bin>


More information about the macports-users mailing list