--- 1/pym/portage.py 2004-06-19 20:17:39.867670304 +0200 +++ 2/pym/portage.py 2004-06-19 20:17:45.786770464 +0200 @@ -666,8 +666,12 @@ newld=open(root+"etc/ld.so.conf","w") newld.write("# ld.so.conf autogenerated by env-update; make all changes to\n") newld.write("# contents of /etc/env.d directory\n") - for x in specials["LDPATH"]: - newld.write(x+"\n") + # python's 'for x in _some_array_' is like gawk's, in the sence that it + # returns all the elements of the array, but sorted alphabetically, which + # is a no-no for ls.so.conf (bug #44028), thus we have to handle it + # somewhat differently ... + for x in range(0, len(specials["LDPATH"])): + newld.write(specials["LDPATH"][x]+"\n") newld.close() ld_cache_update=True