summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 18:09:54 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 18:09:54 +0000
commitafbd321bd8ef2698d611c86b98b7fc15aaefed54 (patch)
tree5ca433a6f42f01f721513b2f7a63caa00d9cb426 /sys-libs
parentpython_mod_optimize is ROOT aware. Fixed python_mod_cleanup. (diff)
downloadgentoo-2-afbd321bd8ef2698d611c86b98b7fc15aaefed54.tar.gz
gentoo-2-afbd321bd8ef2698d611c86b98b7fc15aaefed54.tar.bz2
gentoo-2-afbd321bd8ef2698d611c86b98b7fc15aaefed54.zip
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
(Portage version: 2.1.5.2)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libsemanage/ChangeLog5
-rw-r--r--sys-libs/libsemanage/libsemanage-1.10.9.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog
index 2a0d559afd6e..1bd114c230e1 100644
--- a/sys-libs/libsemanage/ChangeLog
+++ b/sys-libs/libsemanage/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libsemanage
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.20 2008/05/26 15:00:28 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.21 2008/05/29 18:09:54 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org> libsemanage-1.10.9.ebuild:
+ python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
26 May 2008; Chris PeBenito <pebenito@gentoo.org>
libsemanage-1.10.9.ebuild:
diff --git a/sys-libs/libsemanage/libsemanage-1.10.9.ebuild b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild
index d407ddc8a118..4b322c3add26 100644
--- a/sys-libs/libsemanage/libsemanage-1.10.9.ebuild
+++ b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.9.ebuild,v 1.3 2008/05/26 15:00:28 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.9.ebuild,v 1.4 2008/05/29 18:09:54 hawking Exp $
IUSE=""
@@ -49,10 +49,9 @@ src_install() {
pkg_postinst() {
python_version
- python_mod_optimize "${ROOT}usr/lib/python${PYVER}/site-packages"
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
}
pkg_postrm() {
- python_version
- python_mod_cleanup "${ROOT}usr/lib/python${PYVER}/site-packages"
+ python_mod_cleanup
}