On 2015-10-14 13:04 , David Strubbe wrote: > > - Why is pre-activate code executed twice? > > It isn't, two pre-activate procedures have been registered and they are > each executed once. > > > Well, I only put one block of code in active variants, as below. Why > does it end up in two different pre-activate procedures? > > active_variants-1.1.tcl: >> >> +pre-activate { >> + ui_warn "checking active variants" >> + _check_require_active_variants archivefetch >> +}
Looking at the portfile, it uses the compilers portgroup as well as active_variants. Looking at compilers, it uses active_variants itself. So active_variants is included twice. - Josh _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev