On Nov 25, 2012, at 20:11, Jeremy Huddleston Sequoia wrote: > Pseudocode for the parsing is essentially: > if is-list(l): > if matches_all_versions(car(l), cdr(l)) > refuse_compiler(l) > else > refuse_compiler(l) > > matches_all_versions(c, vl): > if is_empty_list(vl): > return true > if version_matches(c, car(vl), cadr(vl)): > return matches_all_versions(c, cddr(vl)) > return false
I've created the compiler_blacklist_versions 1.0 portgroup in r100083. It works in my limited testing. Please try it and let me know what you think. I used an iterative implementation of matches_all_versions because I encountered a strange Tcl error with a recursive implementation. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
