--- /usr/lib/gentoolkit/pym/gentoolkit.py 2004-07-11 17:41:52.000000000 -0700 +++ ./gentoolkit_fixed.py 2004-07-11 17:40:55.346542600 -0700 @@ -109,7 +109,11 @@ return os.path.exists(self._db.getpath()) def is_overlay(self): dir,ovl=portage.portdb.findname2(self._cpv) - return ovl + if settings.environ()['PORTDIR_OVERLAY'] == ovl: + return ovl + else: + return 0 + def is_masked(self): """Returns true if this package is masked against installation. Note: We blindly assume that the package actually exists on disk somewhere."""