From 3c168b9c463b4667c9a0bab25fc101b026a5f7a1 Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sat, 27 Feb 2010 18:39:18 +0000 Subject: make netkit-fingerd cross compile happy (Portage version: 2.1.6.13/cvs/Linux i686) --- net-misc/netkit-fingerd/ChangeLog | 7 +++++-- net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild | 15 ++++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'net-misc') diff --git a/net-misc/netkit-fingerd/ChangeLog b/net-misc/netkit-fingerd/ChangeLog index 145ba5b0ea0b..2eec78921822 100644 --- a/net-misc/netkit-fingerd/ChangeLog +++ b/net-misc/netkit-fingerd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/netkit-fingerd -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/ChangeLog,v 1.17 2006/11/11 07:49:37 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/ChangeLog,v 1.18 2010/02/27 18:39:18 solar Exp $ + + 27 Feb 2010; netkit-fingerd-0.17-r3.ebuild: + make netkit-fingerd cross compile happy *netkit-fingerd-0.17-r3 (11 Nov 2006) diff --git a/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild index 962b1ce649b8..fa4350c810a4 100644 --- a/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild +++ b/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild,v 1.1 2006/11/11 07:49:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild,v 1.2 2010/02/27 18:39:18 solar Exp $ -inherit eutils +inherit eutils toolchain-funcs MY_PN="${PN/netkit/bsd}" MY_PN="${MY_PN/rd/r}" @@ -29,8 +29,13 @@ src_unpack() { } src_compile() { - ./configure || die - emake || die + tc-export CC + if tc-is-cross-compiler; then + touch MCONFIG + else + ./configure || die + fi + emake CC="${CC}" || die } src_install() { -- cgit v1.2.3-65-gdbad