Auto-variants
Blair Zajac
blair at orcaware.com
Sun Aug 7 15:41:09 PDT 2011
For ports that pick up many dependencies, such as rpm52, we have two choices, either to install all dependencies or have variants. rpm52 will find these dependencies:
checking for curl... /opt/local/bin/curl
checking for gpg... /opt/local/bin/gpg
checking for hg... /opt/local/bin/hg
checking for install-info... /opt/local/bin/install-info
checking for lzma... /opt/local/bin/lzma
checking for svn... /opt/local/bin/svn
checking for wget... /opt/local/bin/wget
checking for xar... /opt/local/bin/xar
checking for xz... /opt/local/bin/xz
checking for doxygen... /opt/local/bin/doxygen
If you just wanted to get rpm2cpio, then this is a lot to build. However, I have them installed and don't mind rpm52 using them, but as it stands, port doesn't know there's a dependency that rpm52 found.
What about adding a new "auto" variant type that is automatically enabled if a particular port is installed, so its the best of both worlds. People can get quick compiles without picking everything up and not needing to list every variant if the package is installed.
Blair
More information about the macports-dev
mailing list