From a065a8380ec1ada45331cafbff922af1d7a79e56 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 19 May 2010 23:57:32 +0000 Subject: Actually use toolchain-funcs.eclass and respect CFLAGS and LDFLAGS too. Stable for HPPA (bug #300158). (Portage version: 2.2_rc67/cvs/Linux i686) --- sys-apps/keyutils/ChangeLog | 6 +++++- sys-apps/keyutils/keyutils-1.2-r2.ebuild | 12 ++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'sys-apps/keyutils') diff --git a/sys-apps/keyutils/ChangeLog b/sys-apps/keyutils/ChangeLog index 4f2027e4b8ac..7b695d60da14 100644 --- a/sys-apps/keyutils/ChangeLog +++ b/sys-apps/keyutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/keyutils # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/ChangeLog,v 1.14 2010/05/18 08:02:57 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/ChangeLog,v 1.15 2010/05/19 23:57:31 jer Exp $ + + 19 May 2010; Jeroen Roovers keyutils-1.2-r2.ebuild: + Actually use toolchain-funcs.eclass and respect CFLAGS and LDFLAGS too. + Stable for HPPA (bug #300158). 18 May 2010; Pawel Hajdan jr keyutils-1.2-r2.ebuild: diff --git a/sys-apps/keyutils/keyutils-1.2-r2.ebuild b/sys-apps/keyutils/keyutils-1.2-r2.ebuild index a6c2db1b5a7d..a1e7eef57360 100644 --- a/sys-apps/keyutils/keyutils-1.2-r2.ebuild +++ b/sys-apps/keyutils/keyutils-1.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.2-r2.ebuild,v 1.5 2010/05/18 08:02:57 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.2-r2.ebuild,v 1.6 2010/05/19 23:57:32 jer Exp $ inherit multilib eutils toolchain-funcs @@ -10,7 +10,7 @@ SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86" IUSE="" DEPEND=">=sys-kernel/linux-headers-2.6.11" @@ -24,6 +24,14 @@ src_unpack() { Makefile || die } +src_compile() { + emake \ + CC=$(tc-getCC) \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + src_install() { emake \ DESTDIR="${D}" \ -- cgit v1.2.3-65-gdbad