diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-06 23:07:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-06 23:07:46 +0000 |
commit | 25e80e8b1c7e32949e1465c77435da9b05b0fe1b (patch) | |
tree | 5d4cb593b73f7c9a60017a5e719f17e096df7edf /sys-apps/netkit-base | |
parent | Synchronize ebuilds. Use distutils.eclass. Patch by Arfrever. (diff) | |
download | gentoo-2-25e80e8b1c7e32949e1465c77435da9b05b0fe1b.tar.gz gentoo-2-25e80e8b1c7e32949e1465c77435da9b05b0fe1b.tar.bz2 gentoo-2-25e80e8b1c7e32949e1465c77435da9b05b0fe1b.zip |
Simplify ebuild a bit, and make sure we respect $CC #397871 by Agostino Sarubbo.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/netkit-base')
-rw-r--r-- | sys-apps/netkit-base/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/netkit-base/netkit-base-0.17-r9.ebuild | 20 |
2 files changed, 15 insertions, 11 deletions
diff --git a/sys-apps/netkit-base/ChangeLog b/sys-apps/netkit-base/ChangeLog index 5888d59675ee..d98e2c275c63 100644 --- a/sys-apps/netkit-base/ChangeLog +++ b/sys-apps/netkit-base/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/netkit-base # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.34 2012/01/06 12:03:25 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.35 2012/01/06 23:07:46 vapier Exp $ + + 06 Jan 2012; Mike Frysinger <vapier@gentoo.org> netkit-base-0.17-r9.ebuild: + Simplify ebuild a bit, and make sure we respect $CC #397871 by Agostino + Sarubbo. 06 Jan 2012; Agostino Sarubbo <ago@gentoo.org> netkit-base-0.17-r9.ebuild: Stable for AMD64, wrt bug #397211 diff --git a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild index 16d7e3749d9c..555bbd3094ab 100644 --- a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild +++ b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild,v 1.5 2012/01/06 12:03:25 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild,v 1.6 2012/01/06 23:07:46 vapier Exp $ -EAPI=2 +EAPI="4" -inherit base +inherit eutils toolchain-funcs DESCRIPTION="Old-style inetd" HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" @@ -15,13 +15,12 @@ SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86" IUSE="" -DEPEND="" -RDEPEND="" - -EPATCH_SUFFIX="patch" -PATCHES=( "${FILESDIR}" ) +src_prepare() { + epatch "${FILESDIR}"/*.patch +} src_configure() { + tc-export CC ./configure || die sed -i \ -e "/^CFLAGS=/s:=.*:=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \ @@ -34,10 +33,11 @@ src_install() { -e 's:in\.telnetd$:in.telnetd -L /usr/sbin/telnetlogin:' \ etc.sample/inetd.conf - dosbin inetd/inetd || die + dosbin inetd/inetd doman inetd/inetd.8 newinitd "${FILESDIR}"/inetd.rc6 inetd dodoc BUGS ChangeLog README - docinto samples ; dodoc etc.sample/* + docinto samples + dodoc etc.sample/* } |