summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-05 21:52:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-05 21:52:13 +0000
commit345327914012821f89f2afa2cc8e4ddb7d3ed744 (patch)
treea03e30dfec5642bd481d9221aaed4534a8f81016 /sys-libs/libsepol
parentAnother bunch of prefix fixes (diff)
downloadgentoo-2-345327914012821f89f2afa2cc8e4ddb7d3ed744.tar.gz
gentoo-2-345327914012821f89f2afa2cc8e4ddb7d3ed744.tar.bz2
gentoo-2-345327914012821f89f2afa2cc8e4ddb7d3ed744.zip
Respect AR and CC.
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog6
-rw-r--r--sys-libs/libsepol/libsepol-2.0.41.ebuild17
2 files changed, 13 insertions, 10 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index d561b1754b0f..2b0f8f500d5f 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.36 2011/02/05 11:18:03 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.37 2011/02/05 21:52:13 arfrever Exp $
+
+ 05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ libsepol-2.0.41.ebuild:
+ Respect AR and CC.
*libsepol-2.0.41 (05 Feb 2011)
diff --git a/sys-libs/libsepol/libsepol-2.0.41.ebuild b/sys-libs/libsepol/libsepol-2.0.41.ebuild
index 84010f0279d1..79748bdf45fe 100644
--- a/sys-libs/libsepol/libsepol-2.0.41.ebuild
+++ b/sys-libs/libsepol/libsepol-2.0.41.ebuild
@@ -1,17 +1,19 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.0.41.ebuild,v 1.1 2011/02/05 11:18:03 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.0.41.ebuild,v 1.2 2011/02/05 21:52:13 arfrever Exp $
-IUSE=""
+EAPI="2"
-inherit multilib eutils
+inherit multilib toolchain-funcs
DESCRIPTION="SELinux binary policy representation library"
HOMEPAGE="http://userspace.selinuxproject.org"
SRC_URI="http://userspace.selinuxproject.org/releases/20100525/devel/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE=""
DEPEND=""
RDEPEND=""
@@ -20,10 +22,7 @@ RDEPEND=""
# full SELinux userland repo
RESTRICT="test"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# fix up paths for multilib
sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \
|| die "Fix for multilib LIBDIR failed."
@@ -32,9 +31,9 @@ src_unpack() {
}
src_compile() {
- emake || die
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die
}
src_install() {
- make DESTDIR="${D}" install
+ emake DESTDIR="${D}" install || die
}