Per package default variants

Alexander Skwar alexanders.mailinglists+nospam at
Sun Sep 25 01:08:41 PDT 2011


Is there a way to pre-define variants, a certain package should or
should not use?

Let's say I'd want to build curl without ssl and with sftp_scp. All
other packages should, by default, be built with ssl (if they support

When "manually" installing the package, I'd run

 sudo port install curl -ssl +sftp_scp

If I'd want to have all packages without ssl, I'd add


to ~/.macports/variants.conf

But that would effect all packages.

Well, how to go about it?

Thanks a lot,

↯    Lifestream (Twitter, Blog, …) ↣     ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at , AIM: alexws77  ↯

More information about the macports-users mailing list