summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-10-13 14:11:16 +0000
committerPacho Ramos <pacho@gentoo.org>2013-10-13 14:11:16 +0000
commit7144b035d6014151c0a19e685edb6a2998043a91 (patch)
treed7cdbe95fd4e9a997eb05814b613bedc52d724cc /net-misc/netkit-telnetd
parentBump (diff)
downloadgentoo-2-7144b035d6014151c0a19e685edb6a2998043a91.tar.gz
gentoo-2-7144b035d6014151c0a19e685edb6a2998043a91.tar.bz2
gentoo-2-7144b035d6014151c0a19e685edb6a2998043a91.zip
Fix cross compile issue (#446968)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc/netkit-telnetd')
-rw-r--r--net-misc/netkit-telnetd/ChangeLog5
-rw-r--r--net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild8
2 files changed, 8 insertions, 5 deletions
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 <pacho@gentoo.org> netkit-telnetd-0.17-r10.ebuild:
+ Fix cross compile issue (#446968)
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> -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