summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2006-02-09 23:14:53 +0000
committerChris PeBenito <pebenito@gentoo.org>2006-02-09 23:14:53 +0000
commited88cabfc479f9f1ae0890656f7111697cd1d8e3 (patch)
tree4c15ec51ffacd1ebb937abc6514a86bd5be8854d /sys-libs/libsemanage
parentNew release. (diff)
downloadgentoo-2-ed88cabfc479f9f1ae0890656f7111697cd1d8e3.tar.gz
gentoo-2-ed88cabfc479f9f1ae0890656f7111697cd1d8e3.tar.bz2
gentoo-2-ed88cabfc479f9f1ae0890656f7111697cd1d8e3.zip
Set python version to fix compiles on non 2.4 pythons.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r--sys-libs/libsemanage/ChangeLog5
-rw-r--r--sys-libs/libsemanage/libsemanage-1.4.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog
index 0a5d25dbcbc3..32232b9840b1 100644
--- a/sys-libs/libsemanage/ChangeLog
+++ b/sys-libs/libsemanage/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libsemanage
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.4 2006/01/17 01:07:23 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.5 2006/02/09 23:14:53 pebenito Exp $
+
+ 09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.4.ebuild:
+ Set python version to fix compiles on non 2.4 pythons.
17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.4.ebuild:
Mark stable, x86, amd64, ppc, sparc.
diff --git a/sys-libs/libsemanage/libsemanage-1.4.ebuild b/sys-libs/libsemanage/libsemanage-1.4.ebuild
index 341d1bfd16e4..6e6dbab4cb76 100644
--- a/sys-libs/libsemanage/libsemanage-1.4.ebuild
+++ b/sys-libs/libsemanage/libsemanage-1.4.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.4.ebuild,v 1.4 2006/01/17 01:07:23 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.4.ebuild,v 1.5 2006/02/09 23:14:53 pebenito Exp $
IUSE=""
SEPOL_VER="1.10"
SELNX_VER="1.28"
-inherit eutils multilib
+inherit eutils multilib python
DESCRIPTION="SELinux kernel and policy management library"
HOMEPAGE="http://www.nsa.gov/selinux"
@@ -35,11 +35,13 @@ src_unpack() {
}
src_compile() {
- emake || die
+ python_version
+ emake PYLIBVER="python${PYVER}" || die
}
src_install() {
- make DESTDIR="${D}" install
+ python_version
+ make DESTDIR="${D}" PYLIBVER="python${PYVER}" install
# remove config file. the appropriate
# policy will install this file.