--- emerge.orig 2004-02-28 09:57:03.000000000 +0200 +++ emerge 2004-03-29 08:36:52.806492432 +0200 @@ -14,7 +14,14 @@ import portage if (not sys.stdout.isatty()) or (portage.settings["NOCOLOR"] in ["yes","true"]): nocolor() - + +if "psyco" in portage.features: + try: + import psyco + except ImportError: + print "!!! You need Pysco installed or set FEATURES=\"-psyco\" in make.conf" + sys.exit(1) + def normpath(mystr): if mystr and (mystr[0]=='/'): return os.path.normpath("///"+mystr)