summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-04-05 07:49:58 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-04-05 07:49:58 +0000
commit01c7e0986334b79d6654d09191c17cf7dcf76949 (patch)
tree35124f74fb8504a47f65737c3062d20113ba3a91 /net-misc/netkit-telnetd
parentfixes to make it compile with gcc3 (diff)
downloadgentoo-2-01c7e0986334b79d6654d09191c17cf7dcf76949.tar.gz
gentoo-2-01c7e0986334b79d6654d09191c17cf7dcf76949.tar.bz2
gentoo-2-01c7e0986334b79d6654d09191c17cf7dcf76949.zip
fixes for compilation with gcc3
Diffstat (limited to 'net-misc/netkit-telnetd')
-rw-r--r--net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild
index 03149036739d..5efc5a658efc 100644
--- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild
+++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild,v 1.1 2002/04/05 07:48:02 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r2.ebuild,v 1.2 2002/04/05 07:49:58 gbevin Exp $
P2=netkit-telnet-${PV}
S=${WORKDIR}/${P2}
@@ -10,6 +10,14 @@ SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P2}.tar.gz"
DEPEND="virtual/glibc >=sys-libs/ncurses-5.2"
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/netkit-telnetd-0.17-gentoo.patch || die
+
+}
+
src_compile() {
./configure --prefix=/usr || die
cp MCONFIG MCONFIG.orig