diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-05 21:52:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-05 21:52:13 +0000 |
commit | fe097a4cb9fa4db6e369911c7138c1c5b81207f5 (patch) | |
tree | 61a4736577c31d7c327f4b2ab066f7b7bd998fba /sys-libs/libsepol/libsepol-2.0.41.ebuild | |
parent | Another bunch of prefix fixes (diff) | |
download | historical-fe097a4cb9fa4db6e369911c7138c1c5b81207f5.tar.gz historical-fe097a4cb9fa4db6e369911c7138c1c5b81207f5.tar.bz2 historical-fe097a4cb9fa4db6e369911c7138c1c5b81207f5.zip |
Respect AR and CC.
Package-Manager: portage-2.2.0_alpha20/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/libsepol/libsepol-2.0.41.ebuild')
-rw-r--r-- | sys-libs/libsepol/libsepol-2.0.41.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
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 } |