diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2006-01-29 20:00:59 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2006-01-29 20:00:59 +0000 |
commit | de6e6d0230e9ff85106a7572d73f8274d7776755 (patch) | |
tree | fef1ee2450d2d548965532f09032e209480970be /sys-libs | |
parent | Moved media-gfx/kpl to sci-visualization/kpl (diff) | |
download | gentoo-2-de6e6d0230e9ff85106a7572d73f8274d7776755.tar.gz gentoo-2-de6e6d0230e9ff85106a7572d73f8274d7776755.tar.bz2 gentoo-2-de6e6d0230e9ff85106a7572d73f8274d7776755.zip |
Add python version handling to fix #120829, and add -fPIC to LDFLAGS to hopefully fix #119271.
(Portage version: 2.1_pre4)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libselinux/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/libselinux/libselinux-1.28.ebuild | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog index fca52b043faa..93e8565bf545 100644 --- a/sys-libs/libselinux/ChangeLog +++ b/sys-libs/libselinux/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libselinux # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.39 2006/01/17 01:06:00 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.40 2006/01/29 20:00:59 pebenito Exp $ + + 29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild: + Add python version handling to fix #120829, and add -fPIC to LDFLAGS to + hopefully fix #119271. 17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild: Mark stable, x86, amd64, ppc, sparc. diff --git a/sys-libs/libselinux/libselinux-1.28.ebuild b/sys-libs/libselinux/libselinux-1.28.ebuild index bb30a74be646..ce368af99c04 100644 --- a/sys-libs/libselinux/libselinux-1.28.ebuild +++ b/sys-libs/libselinux/libselinux-1.28.ebuild @@ -1,12 +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/libselinux/libselinux-1.28.ebuild,v 1.4 2006/01/17 01:06:00 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.28.ebuild,v 1.5 2006/01/29 20:00:59 pebenito Exp $ IUSE="" SEPOL_VER="1.10" -inherit eutils multilib +inherit eutils multilib python +python_version DESCRIPTION="SELinux userland library" HOMEPAGE="http://www.nsa.gov/selinux" @@ -15,18 +16,13 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha amd64 ~mips ppc sparc x86" -DEPEND="=sys-libs/libsepol-${SEPOL_VER}*" +DEPEND="=sys-libs/libsepol-${SEPOL_VER}* + dev-lang/swig" src_unpack() { unpack ${A} cd ${S} - # make portage CFLAGS work - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" ${S}/src/Makefile \ - || die "src Makefile CFLAGS fix failed." - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" ${S}/utils/Makefile \ - || die "utils Makefile CFLAGS fix failed." - # fix up paths for multilib sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \ || die "Fix for multilib LIBDIR failed." @@ -35,7 +31,7 @@ src_unpack() { } src_compile() { - emake || die + emake PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" || die } src_install() { |