summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-01-01 19:57:33 +0000
committerPacho Ramos <pacho@gentoo.org>2013-01-01 19:57:33 +0000
commitfd387b3adc6313511347f704fa5b1778633c82b0 (patch)
treeba9540f630ffab4e6c75aa67f3b9d4226613ab0c /net-misc
parentold (diff)
downloadgentoo-2-fd387b3adc6313511347f704fa5b1778633c82b0.tar.gz
gentoo-2-fd387b3adc6313511347f704fa5b1778633c82b0.tar.bz2
gentoo-2-fd387b3adc6313511347f704fa5b1778633c82b0.zip
Fix cross-compilation, bug #446972 by Bertrand Jacquin
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/linux-identd/ChangeLog7
-rw-r--r--net-misc/linux-identd/linux-identd-1.3-r1.ebuild15
2 files changed, 14 insertions, 8 deletions
diff --git a/net-misc/linux-identd/ChangeLog b/net-misc/linux-identd/ChangeLog
index 8da7eff5ba3f..0de7134b4e58 100644
--- a/net-misc/linux-identd/ChangeLog
+++ b/net-misc/linux-identd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/linux-identd
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-identd/ChangeLog,v 1.22 2009/09/23 19:39:45 patrick Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-identd/ChangeLog,v 1.23 2013/01/01 19:57:33 pacho Exp $
+
+ 01 Jan 2013; Pacho Ramos <pacho@gentoo.org> linux-identd-1.3-r1.ebuild:
+ Fix cross-compilation, bug #446972 by Bertrand Jacquin
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> linux-identd-1.3.ebuild,
linux-identd-1.3-r1.ebuild:
diff --git a/net-misc/linux-identd/linux-identd-1.3-r1.ebuild b/net-misc/linux-identd/linux-identd-1.3-r1.ebuild
index 435902f9ea12..ecb017bb8580 100644
--- a/net-misc/linux-identd/linux-identd-1.3-r1.ebuild
+++ b/net-misc/linux-identd/linux-identd-1.3-r1.ebuild
@@ -1,11 +1,14 @@
-# Copyright 1999-2010 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/linux-identd/linux-identd-1.3-r1.ebuild,v 1.6 2010/10/28 12:34:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-identd/linux-identd-1.3-r1.ebuild,v 1.7 2013/01/01 19:57:33 pacho Exp $
-IUSE="xinetd"
-DESCRIPTION="A real IDENT daemon for linux."
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A real IDENT daemon for linux"
HOMEPAGE="http://www.fukt.bth.se/~per/identd"
SRC_URI="http://www.fukt.bth.se/~per/identd/${P}.tar.gz"
+IUSE="xinetd"
LICENSE="GPL-2"
SLOT="0"
@@ -15,13 +18,13 @@ DEPEND=""
RDEPEND="xinetd? ( sys-apps/xinetd )"
src_compile() {
- emake CEXTRAS="${CFLAGS}" || die
+ emake CC="$(tc-getCC)" CEXTRAS="${CFLAGS}"
}
src_install() {
dodir /etc/init.d /usr/sbin /usr/share/man/man8
dodoc README ChangeLog
- make install DESTDIR="${D}" MANDIR=/usr/share/man || die
+ emake install DESTDIR="${D}" MANDIR=/usr/share/man
if use xinetd; then
insinto /etc/xinetd.d