diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-15 04:51:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-15 04:51:44 +0000 |
commit | aac4d8aed3acc6e164798122423422a4f03030be (patch) | |
tree | 6fd338387b38fd9c1eb2fd8e6c849100ca6f1c48 | |
parent | bb04b706f4874f4603ae5c6ef0728702f73fca1f (diff) | |
download | portage-aac4d8aed3acc6e164798122423422a4f03030be.tar.gz portage-aac4d8aed3acc6e164798122423422a4f03030be.tar.bz2 portage-aac4d8aed3acc6e164798122423422a4f03030be.zip |
Bug 115519 by Diego Petteno: Fix ldconfig command ordering, add dragonfly support
svn path=/main/trunk/; revision=2372
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py index d0734b458..52a048053 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -669,10 +669,10 @@ def env_update(makelinks=1): commands.getstatusoutput("cd / ; /sbin/ldconfig -r "+root) else: commands.getstatusoutput("cd / ; /sbin/ldconfig -X -r "+root) - elif ostype == "FreeBSD": + elif ostype == "FreeBSD" or ostype == "DragonFly": if (ld_cache_update): writemsg(">>> Regenerating "+str(root)+"var/run/ld-elf.so.hints...\n") - commands.getstatusoutput("cd / ; /sbin/ldconfig -i -elf -f "+str(root)+"var/run/ld-elf.so.hints "+str(root)+"etc/ld.so.conf") + commands.getstatusoutput("cd / ; /sbin/ldconfig -elf -i -f "+str(root)+"var/run/ld-elf.so.hints "+str(root)+"etc/ld.so.conf") del specials["LDPATH"] |