Remove the KVERS environment variable since it's code that creates it is broken anywa... v2.1.2.1
authorZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 02:36:55 +0000 (02:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 02:36:55 +0000 (02:36 -0000)
svn path=/main/branches/2.1.2/; revision=6167

pym/portage.py

index 99a2aa9e82fca7e6c539b8f2e8f73346d95a0e10..cfef7234362209b6bc12f9e1157becee5c4aff45 100644 (file)
@@ -3070,10 +3070,6 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
                else:
                        mysettings["KV"]=""
 
-       if (mydo!="depend") or not mysettings.has_key("KVERS"):
-               myso=os.uname()[2]
-               mysettings["KVERS"]=myso[1]
-
        # Allow color.map to control colors associated with einfo, ewarn, etc...
        mycolors = []
        for c in ("GOOD", "WARN", "BAD", "HILITE", "BRACKET"):