+++ /dev/null
-MD5 793587f2418c1bd63d7571fbe195f4f1 psmisc-22.4.tar.gz 275856
-RMD160 86188fab6633869d83f35f1ba34ca79727944963 psmisc-22.4.tar.gz 275856
-SHA256 e3d26a38703e347ed54b2643f12973bf2e26278a122d0cc3a51e5452785300ca psmisc-22.4.tar.gz 275856
+++ /dev/null
-peekfd only compiles/runs on x86 (because it pokes around in the processor's
-register file), plus it doesn't build on newer kernel headers, so let's just
-disable it and be done.
-
-http://sourceforge.net/tracker/index.php?func=detail&aid=1702927&group_id=15273&atid=115273
-
---- src/Makefile.in
-+++ src/Makefile.in
-@@ -33,7 +33,7 @@
- build_triplet = @build@
- host_triplet = @host@
- bin_PROGRAMS = fuser$(EXEEXT) killall$(EXEEXT) pstree$(EXEEXT) \
-- oldfuser$(EXEEXT) peekfd$(EXEEXT)
-+ oldfuser$(EXEEXT)
- subdir = src
- DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.4.ebuild,v 1.1 2007/04/18 13:21:19 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="A set of tools that use the proc filesystem"
-HOMEPAGE="http://psmisc.sourceforge.net/"
-SRC_URI="mirror://sourceforge/psmisc/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="ipv6 nls selinux X"
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2
- selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
- sys-devel/libtool
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-22.2-gcc2.patch
- epatch "${FILESDIR}"/${P}-no-peekfd.patch
-}
-
-src_compile() {
- econf \
- --bindir=/bin \
- $(use_enable selinux) \
- $(use_enable nls) \
- $(use_enable ipv6) \
- || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog NEWS README
- use X || rm "${D}"/bi/pstree.x11
-}