summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog6
-rw-r--r--sys-libs/libsepol/libsepol-2.1.4-r1.ebuild25
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
}