diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-05-19 23:57:32 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-05-19 23:57:32 +0000 |
commit | a065a8380ec1ada45331cafbff922af1d7a79e56 (patch) | |
tree | 51afc2cfa38bde8d53e3b996bb298b45454976de /sys-apps | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-a065a8380ec1ada45331cafbff922af1d7a79e56.tar.gz gentoo-2-a065a8380ec1ada45331cafbff922af1d7a79e56.tar.bz2 gentoo-2-a065a8380ec1ada45331cafbff922af1d7a79e56.zip |
Actually use toolchain-funcs.eclass and respect CFLAGS and LDFLAGS too. Stable for HPPA (bug #300158).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/keyutils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/keyutils/keyutils-1.2-r2.ebuild | 12 |
2 files changed, 15 insertions, 3 deletions
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 <jer@gentoo.org> 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 <phajdan.jr@gentoo.org> 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}" \ |