On Feb 26, 2014, at 13:46, Sean Farley <[email protected]> wrote: > The important part that I didn't really document is that compilers.setup > has to be the last call.
If that’s so, just make the portgroup error out if the calls are not in the right order. > In all the examples, I have compilers/mpi calls > after the PortGroup but before everything else and also with the setup > call last. > > I think you'll get the desired outcome if you change the order to: > --- snip --- > PortSystem 1.0 > PortGroup python 1.0 > PortGroup github 1.0 > PortGroup compilers 1.0 > > compilers.choose f77 f90 fc > compilers.setup require_fortran > > github.setup obspy obspy 4d67519 > --- snip --- > > If this were Python, I could make lazily evaluated properties for this > but, unfortunately, this is not Python and my Tcl is pretty mediocre. Tcl also has lazily-evaluated properties; we use them all over the place in MacPorts. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
