/[gentoo-x86]/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild
Gentoo

Contents of /net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.25 - (show annotations) (download)
Mon Jun 17 00:05:16 2013 UTC (6 years, 7 months ago) by mschiff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +2 -1 lines
Add eaclocal to src_prepare. Should fix bug #473096. Thanks to Mark Zhitomirski.

(Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild,v 1.24 2013/06/12 14:41:29 jer Exp $
4
5 EAPI=5
6 inherit eutils autotools toolchain-funcs
7
8 DESCRIPTION="Telnet and telnetd ported from OpenBSD with IPv6 support"
9 HOMEPAGE="ftp://ftp.suse.com/pub/people/kukuk/ipv6/"
10 SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/ipv6/${P}.tar.bz2"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
15 IUSE="nls xinetd"
16
17 RDEPEND="sys-libs/ncurses"
18 DEPEND="${RDEPEND}
19 !net-misc/netkit-telnetd
20 xinetd? ( sys-apps/xinetd )
21 virtual/pkgconfig"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-fbsd.patch
25 eaclocal
26 eautoreconf
27 }
28
29 src_configure() {
30 # FreeBSD doesn't seem to support PIE neither does hppa
31 if use kernel_FreeBSD; then
32 export libc_cv_fpie="no"
33 fi
34
35 econf
36 emake CFLAGS="${CFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)"
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install
41
42 if use xinetd ; then
43 insinto /etc/xinetd.d
44 newins "${FILESDIR}"/telnetd.xinetd telnetd
45 fi
46
47 dodoc README THANKS NEWS AUTHORS ChangeLog INSTALL
48 }

  ViewVC Help
Powered by ViewVC 1.1.20