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/libsemanage-1.4.ebuild
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/libsemanage-1.4.ebuild')
-rw-r--r--sys-libs/libsemanage/libsemanage-1.4.ebuild10
1 files changed, 6 insertions, 4 deletions
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.