diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-10-03 20:34:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-10-03 20:34:13 +0000 |
commit | 2c65484183b41906382c7d4555ac4a7cfa719f85 (patch) | |
tree | c6e22edeb06b465d493b4dffb97601d105cef792 /sys-libs/libsepol | |
parent | Update the piepatchset to 0.5.4 for 4.7.2 to fix 436924 (diff) | |
download | gentoo-2-2c65484183b41906382c7d4555ac4a7cfa719f85.tar.gz gentoo-2-2c65484183b41906382c7d4555ac4a7cfa719f85.tar.bz2 gentoo-2-2c65484183b41906382c7d4555ac4a7cfa719f85.zip |
Update to EAPI=4.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r-- | sys-libs/libsepol/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/libsepol/libsepol-2.1.4-r1.ebuild | 25 |
2 files changed, 12 insertions, 19 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog index 398d5245a8ae..23ae07a21fd8 100644 --- a/sys-libs/libsepol/ChangeLog +++ b/sys-libs/libsepol/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/libsepol # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.48 2012/05/13 12:48:20 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.49 2012/10/03 20:34:13 vapier Exp $ + + 03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libsepol-2.1.4-r1.ebuild: + Update to EAPI=4. 13 May 2012; <swift@gentoo.org> -libsepol-2.1.0.ebuild: Removing obsoleted ebuild @@ -208,4 +211,3 @@ 07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +metadata.xml, +libsepol-1.0.ebuild: Initial commit. - diff --git a/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild b/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild index ec2a71ce9871..b3ca14b38c69 100644 --- a/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild +++ b/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild,v 1.2 2012/04/29 10:07:40 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild,v 1.3 2012/10/03 20:34:13 vapier Exp $ -EAPI="2" +EAPI="4" inherit multilib toolchain-funcs eutils @@ -15,26 +15,17 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -DEPEND="" -RDEPEND="" - # tests are not meant to be run outside of the # full SELinux userland repo RESTRICT="test" src_prepare() { # fix up paths for multilib - sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \ - || die "Fix for multilib LIBDIR failed." - sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \ - || die "Fix for multilib SHLIBDIR failed." + sed -i \ + -e "/^LIBDIR/s/lib/$(get_libdir)/" \ + -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \ + -e 's:\<ranlib\>:$(RANLIB):' \ + src/Makefile || die epatch "${FILESDIR}/libsepol-2.1.4-fix_role_fix_callback.patch" -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die -} - -src_install() { - emake DESTDIR="${D}" install || die + tc-export AR CC RANLIB } |