summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2010-02-27 18:39:18 +0000
committerNed Ludd <solar@gentoo.org>2010-02-27 18:39:18 +0000
commit3c168b9c463b4667c9a0bab25fc101b026a5f7a1 (patch)
tree347c1825ea5443bb8f958bd10376b97ac841d2af /net-misc/netkit-fingerd
parentNow with PBXT support again. XtraDB 1.0.6-9 confirmed to not work yet. (diff)
downloadgentoo-2-3c168b9c463b4667c9a0bab25fc101b026a5f7a1.tar.gz
gentoo-2-3c168b9c463b4667c9a0bab25fc101b026a5f7a1.tar.bz2
gentoo-2-3c168b9c463b4667c9a0bab25fc101b026a5f7a1.zip
make netkit-fingerd cross compile happy
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'net-misc/netkit-fingerd')
-rw-r--r--net-misc/netkit-fingerd/ChangeLog7
-rw-r--r--net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild15
2 files changed, 15 insertions, 7 deletions
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; <solar@gentoo.org> 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() {