Per package default variants

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


Hallo.


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

Eg.
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
it).

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

 -ssl

to ~/.macports/variants.conf

But that would effect all packages.

Well, how to go about it?

Thanks a lot,

Alexander
--
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com , AIM: alexws77  ↯


More information about the macports-users mailing list