From 7144b035d6014151c0a19e685edb6a2998043a91 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 13 Oct 2013 14:11:16 +0000 Subject: Fix cross compile issue (#446968) (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) --- net-misc/netkit-telnetd/ChangeLog | 5 ++++- net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'net-misc') diff --git a/net-misc/netkit-telnetd/ChangeLog b/net-misc/netkit-telnetd/ChangeLog index 5c0168f55676..2392fcd34e10 100644 --- a/net-misc/netkit-telnetd/ChangeLog +++ b/net-misc/netkit-telnetd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/netkit-telnetd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/ChangeLog,v 1.57 2013/02/16 12:57:00 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/ChangeLog,v 1.58 2013/10/13 14:11:16 pacho Exp $ + + 13 Oct 2013; Pacho Ramos netkit-telnetd-0.17-r10.ebuild: + Fix cross compile issue (#446968) 16 Feb 2013; Pacho Ramos -netkit-telnetd-0.17-r6.ebuild, -netkit-telnetd-0.17-r8.ebuild, -netkit-telnetd-0.17-r9.ebuild, metadata.xml: diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild index 3fbea1a1ba80..6598ddc3dcec 100644 --- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild +++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild,v 1.9 2012/05/28 17:18:05 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild,v 1.10 2013/10/13 14:11:16 pacho Exp $ inherit eutils toolchain-funcs @@ -47,14 +47,14 @@ src_unpack() { } src_compile() { + tc-export CC CXX + ./configure --prefix=/usr || die sed -i \ -e "s:-pipe -O2:${CFLAGS}:" \ -e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \ -e "s:-Wpointer-arith::" \ - -e "s:^CC=.*:CC=$(tc-getCC):" \ - -e "s:^CXX=.*:CXX=$(tc-getCXX):" \ MCONFIG || die emake || die -- cgit v1.2.3-65-gdbad