I never used "conflicts". How does it work? And what does it do? I would expect that if you choose a variant, it will prevent any conflicting variant to be selected. From your first remark, I gather it is not the case.
As I said earlier, variants, I can write (and conflicts, I will add), but tcl code, I do not know. Citando Ryan Schmidt : > > On Jul 5, 2010, at 09:38, mil...@macports.org wrote: > > > Revision: 69423 > > http://trac.macports.org/changeset/69423 > > Author: mil...@macports.org > > Date: 2010-07-05 07:38:53 -0700 (Mon, 05 Jul 2010) > > Log Message: > > ----------- > > Make rubber depend on specific python ports instead of python_select > > > > Modified Paths: > > -------------- > > trunk/dports/tex/rubber/Portfile > > > > Modified: trunk/dports/tex/rubber/Portfile > > =================================================================== > > --- trunk/dports/tex/rubber/Portfile 2010-07-05 14:24:36 UTC (rev > > 69422) > > +++ trunk/dports/tex/rubber/Portfile 2010-07-05 14:38:53 UTC (rev > > 69423) > > @@ -24,10 +24,29 @@ > > master_sites http://ebeffara.free.fr/pub/ > > checksums md5 8087cdb498f51f91c2427c7d0b253189 > > depends_run bin:latex:texlive > > -depends_lib port:python_select > > > > -configure.args --python=${prefix}/bin/python \ > > - --mandir=${destroot}${prefix}/share/man \ > > +configure.args --mandir=${destroot}${prefix}/share/man \ > > --infodir=${destroot}${prefix}/share/info > > destroot.args prefix=${destroot}${prefix} > > > > +default_variants +python26 > > This variant should only be the default if the user has not already requested > to use a different one. > > > +variant python24 description {Use python2.4} { > > + depends_lib-append port:python24 > > + configure.args-append --python=${prefix}/bin/python2.4 > > +} > > + > > +variant python25 description {Use python2.5} { > > + depends_lib-append port:python25 > > + configure.args-append --python=${prefix}/bin/python2.5 > > +} > > + > > +variant python26 description {Use python2.6} { > > + depends_lib-append port:python26 > > + configure.args-append --python=${prefix}/bin/python2.6 > > +} > > + > > +variant python27 description {Use python2.7} { > > + depends_lib-append port:python27 > > + configure.args-append --python=${prefix}/bin/python2.7 > > +} > > These variants should be marked as conflicting with one another. > > > > -- I use grml (http://grml.org/) _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev