How to specify a variant to depends_lib in a portfile?
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Tue Aug 16 15:22:07 PDT 2011
> We are building a virtual port, which install some 40 (!) ports via depends_lib "port:" entries. Now we find that we must install one particular variant of one of the ports. Is there a way to specify that in a depends-lib entry? Or is there some other way to accomplish the same effect?
See if there's a file that is installed only when that variant is picked and let the virtual port complain (or the port that builds on top of it) that that file is missing, ergo the variant is missing.
depot_tools does that for git-core +svn and I okular needs poppler +qt4 +quartz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110816/e5c6f055/attachment.bin>
More information about the macports-dev
mailing list