summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-14 12:02:00 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-14 12:02:00 +0000
commitc4ea71b40c37be1cc29c7c4710f510517dc4588f (patch)
tree36d3ebc5c4a8e971852a3fc0136c7e8307a8bb61 /sys-process/procps
parentVersion bump (diff)
downloadhistorical-c4ea71b40c37be1cc29c7c4710f510517dc4588f.tar.gz
historical-c4ea71b40c37be1cc29c7c4710f510517dc4588f.tar.bz2
historical-c4ea71b40c37be1cc29c7c4710f510517dc4588f.zip
old
Package-Manager: portage-2.2_rc25/cvs/Linux x86_64
Diffstat (limited to 'sys-process/procps')
-rw-r--r--sys-process/procps/Manifest19
-rw-r--r--sys-process/procps/files/3.2.4-64bit-display.patch34
-rw-r--r--sys-process/procps/files/3.2.4-linux26-slab.patch17
-rw-r--r--sys-process/procps/files/procps-3.2.5-proc-mount.patch17
-rw-r--r--sys-process/procps/files/procps-3.2.6-links.patch25
-rw-r--r--sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch12
-rw-r--r--sys-process/procps/procps-3.2.4-r3.ebuild79
-rw-r--r--sys-process/procps/procps-3.2.5-r1.ebuild77
-rw-r--r--sys-process/procps/procps-3.2.6.ebuild74
9 files changed, 4 insertions, 350 deletions
diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
index 33cd896b854e..6cf39c39965a 100644
--- a/sys-process/procps/Manifest
+++ b/sys-process/procps/Manifest
@@ -1,30 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 3.2.4-64bit-display.patch 1566 RMD160 964f2e17a1ea3bf13ef5c77c745bad048fad1d13 SHA1 c0bdd840b60b7bee832271f9676cbb63894a76ef SHA256 f1cf8a0af323248ce747d842ef1387ffc4c7b60a00664c722199e6bb54883d22
-AUX 3.2.4-linux26-slab.patch 521 RMD160 6d8a91f6df93528fd59ccc69b7d42b2821859d28 SHA1 3f97075cef01e5745934dc7c0fb4c96008dffbf9 SHA256 1d07c222617a781b3f7b294961c718e7b6df468424302145ed072e8062df412a
AUX 3.2.5-top-sort.patch 1384 RMD160 7ab964b4dd310d5032826abe64a46b8b6e968a80 SHA1 ad7782f3f4d118fa67c667d611a1eb2f4c736808 SHA256 bd52bdde8f43e9f1428d18efa13691abd83a25ea2f99d8c44fabccd7f2ba902b
AUX procps-3.2.3-noproc.patch 911 RMD160 0c6714c16424a31cde28f8e667f05a46e71402d1 SHA1 6cc1c4fc8f7e39347619f4c9f1432dfc6d0164a1 SHA256 e3897fe3e8df43750f514e8fc84a82f5e00c0bc2245bbd21ad2d8ff9789087f1
-AUX procps-3.2.5-proc-mount.patch 621 RMD160 cbe2e0a44332990c46f1a56a779e845a574c6d88 SHA1 34982cbd9b295e246fe091a5ec578cdb67036453 SHA256 d529af3f98f9fe9499bb19478670f23e65245b036174972237e91ce2420c85b5
-AUX procps-3.2.6-links.patch 597 RMD160 4cf05ca33ad0aebcd9063e769f1ca6060a46b07f SHA1 b6c561570e5a80cebb2c16053121d3a3970710bb SHA256 1994e4442ca143ea68638ab55eeda69fdd71ff9773aef386429ef2f03f29bc36
AUX procps-3.2.6-mips-n32_isnt_usable_on_mips64_yet.patch 380 RMD160 1f0796a5e1745d32ac12786e712823ae0359c986 SHA1 145e81079f980913327f3a2680e87d1ebba87f4f SHA256 7fa2c0891f8c96072e0cd6578228b122ca69602e89416e7a73c370895d93a267
AUX procps-3.2.7-proc-mount.patch 657 RMD160 90d0dae26d4a514ef0dbcb3c90ba167d0890d14e SHA1 07bdfb5484189daad7beb18fd5e2f280e3de3cad SHA256 17194621e6f5307c1712fab15a13a7da0e10315cf8b45b34403b54c70013b2ba
AUX procps-mips-define-pagesize.patch 1028 RMD160 aa0cb4fdf76d50bae983683e0de0a06daba52361 SHA1 7658c35e40c4c565bd4f4124b09c43ec474da0bd SHA256 9000966beaa7ae9e8261dfc691b7b7bec08857e8404de60f30b10bbe6e702d8e
-AUX procps-mips-n32_isnt_usable_on_mips64_yet.patch 431 RMD160 baae7cdff022beb1bff0c346338fa583c025d19d SHA1 51775dac3b21b31b372cde3d91ee5a50dde9e900 SHA256 c1fa4dbaa23cd6e3173da01fbeac9808adb5f56148bd720a2c1d03bd72682f83
-DIST procps-3.2.4.tar.gz 275861 RMD160 2263ab602d6abaaee74e8a59d382bf19f586d41e SHA1 593ba9c66027f505c1228f1107bfb12cd0b898f6 SHA256 26bad1250af49dd4f3e78ac39f2916fc60ad8022aafd3f46d2b35f161dcdbed4
-DIST procps-3.2.5.tar.gz 277365 RMD160 2deb6bc8f2af19f965aebe4aa87337a44a86e2e1 SHA1 f99d5131a428e1507d258614e4dcfb1375f10d03 SHA256 6d52c706401af197bd9d7e0187c35b4a3463ea720392ffa0c020d94899b361e5
-DIST procps-3.2.6.tar.gz 279084 RMD160 f0b09701ce48d9f6db1cbb209b02ba026ee58d09 SHA1 91f44180eb50a94eb945c2598c0e849879e65893 SHA256 f98c7d065168a13f981e815f2472fe5eec7f4efdae6844b21a573ebada56727e
DIST procps-3.2.7.tar.gz 281965 RMD160 380d9f1b1bf505666e925ce82cd19276a186f97a SHA1 b60567cc6263167fa1a4ff6a5bea26db86022c10 SHA256 b439e04adab9b1e66e11f59c4331680da48f1722f2123123f7c16dfbed2c38dc
-EBUILD procps-3.2.4-r3.ebuild 2364 RMD160 dcd31cd6d5712ef64b3cfb0b64377bb8c1c512f6 SHA1 aad55f07a8749f7dbb2e0996d5c420e10b6067ab SHA256 b3a4e1680e6dfc2aa91ba39780e6ac7514f18eac0605c33072ff4881957e9e7c
-EBUILD procps-3.2.5-r1.ebuild 2277 RMD160 aaab08b1e8a49187fd7a83d2ce8a629e8a56fff8 SHA1 5626752310043a205b886a4ea512cf70c7be5007 SHA256 94b63365b4ca1880adfb3d4f8413bb1acec0f1b3cf5b748bff2e5e14fd538219
-EBUILD procps-3.2.6.ebuild 2205 RMD160 5290da68c25e88fc3c7956996f545e4bc63e30f8 SHA1 a1b64e244a68b312ac6a87c910e7035c3b331660 SHA256 a7975234f8bf680b8ef4ada33214d2a7eb548bacee8c33163c143d696125d528
EBUILD procps-3.2.7.ebuild 2320 RMD160 d724f093f7641a3db9641b807007245324f7077b SHA1 29e8f298250d4c8800180dfae2bdbdcb6a2a8829 SHA256 dd3cca11e7221656164818902750f548ad1520e8e440c870cedf8380af7a1eb3
MISC ChangeLog 20108 RMD160 34af57997a49d2ff4b075a8efe659e41e1fcc2cf SHA1 41d8c09b5311d0d1310fe495864bf290c80b66a3 SHA256 b78b6394a3f0fbff3695b4a5c14514fda63f0f57a8d0b0b2fbf9a3e20d15f624
MISC metadata.xml 233 RMD160 eb1f965766a567d9532906b72a415ac9f26568cf SHA1 0d2f3cf7a995f93a571490b449e326f955f49f4f SHA256 3b65bcd57075074266dba6e86dbe969592d58f69469e31072736cd1a42a76932
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkimTHcACgkQoeSe8B0zEfydFwCdG1IMv41iF732gyU/UHEFMTcS
-w6YAoICry4Mb+D8FAnVku5xZ5m3/zZXm
-=HyPA
+iEYEARECAAYFAkm7nL0ACgkQn/5bYzqsSmGT9ACbBS8xcQcxqiN7mGopS0asP2Pm
+xAkAoLxYm0AjafUHrNNVIFVtfqwBpdWe
+=UxrS
-----END PGP SIGNATURE-----
diff --git a/sys-process/procps/files/3.2.4-64bit-display.patch b/sys-process/procps/files/3.2.4-64bit-display.patch
deleted file mode 100644
index aca21f6de8f5..000000000000
--- a/sys-process/procps/files/3.2.4-64bit-display.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Index: proc/escape.c
-===================================================================
-RCS file: /cvsroot/procps/procps/proc/escape.c,v
-retrieving revision 1.5
-retrieving revision 1.6
-diff -u -r1.5 -r1.6
---- proc/escape.c 4 Nov 2004 20:50:59 -0000 1.5
-+++ proc/escape.c 5 Jan 2005 21:11:21 -0000 1.6
-@@ -159,7 +159,7 @@
- // escape an argv or environment string array
- //
- // bytes arg means sizeof(buf)
--int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, size_t *cells){
-+int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t bytes, int *cells){
- size_t i = 0;
-
- for(;;){
-Index: proc/escape.h
-===================================================================
-RCS file: /cvsroot/procps/procps/proc/escape.h,v
-retrieving revision 1.4
-retrieving revision 1.5
-diff -u -r1.4 -r1.5
---- proc/escape.h 4 Nov 2004 20:50:59 -0000 1.4
-+++ proc/escape.h 5 Jan 2005 21:11:21 -0000 1.5
-@@ -12,7 +12,7 @@
- #define ESC_BRACKETS 0x2 // if using cmd, put '[' and ']' around it
- #define ESC_DEFUNCT 0x4 // mark zombies with " <defunct>"
-
--extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, size_t *cells);
-+extern int escape_strlist(char *restrict dst, const char *restrict const *restrict src, size_t n, int *cells);
- extern int escape_str(char *restrict dst, const char *restrict src, int bufsize, int *maxcells);
- extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, int *cells, unsigned flags);
-
diff --git a/sys-process/procps/files/3.2.4-linux26-slab.patch b/sys-process/procps/files/3.2.4-linux26-slab.patch
deleted file mode 100644
index d2d0ab0ceaae..000000000000
--- a/sys-process/procps/files/3.2.4-linux26-slab.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: proc/slab.c
-===================================================================
-RCS file: /cvsroot/procps/procps/proc/slab.c,v
-retrieving revision 1.4
-retrieving revision 1.5
-diff -u -r1.4 -r1.5
---- proc/slab.c 5 Jan 2005 21:46:22 -0000 1.4
-+++ proc/slab.c 10 Jan 2005 05:59:41 -0000 1.5
-@@ -293,7 +294,7 @@
- return 1;
- }
-
-- if (major == 2 && minor == 0)
-+ if (major == 2)
- ret = parse_slabinfo20(list, stats, slabfile);
- else if (major == 1 && minor == 1)
- ret = parse_slabinfo11(list, stats, slabfile);
diff --git a/sys-process/procps/files/procps-3.2.5-proc-mount.patch b/sys-process/procps/files/procps-3.2.5-proc-mount.patch
deleted file mode 100644
index a1a1464ebba3..000000000000
--- a/sys-process/procps/files/procps-3.2.5-proc-mount.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Slightly prettier error message
-
---- proc/readproc.c
-+++ proc/readproc.c
-@@ -858,2 +858,2 @@
- if(file2str("/proc/self", "stat", sbuf, sizeof sbuf) == -1){
-- fprintf(stderr, "Error, do this: mount -t proc none /proc\n");
-+ fprintf(stderr, "Error, do this: mount -t proc proc /proc\n");
---- proc/sysinfo.c
-+++ proc/sysinfo.c
-@@ -31,4 +31,4 @@
- " To mount /proc at boot you need an /etc/fstab line like:\n" \
--" /proc /proc proc defaults\n" \
--" In the meantime, mount /proc /proc -t proc\n"
-+" proc /proc proc defaults\n" \
-+" In the meantime, mount proc /proc -t proc\n"
-
diff --git a/sys-process/procps/files/procps-3.2.6-links.patch b/sys-process/procps/files/procps-3.2.6-links.patch
deleted file mode 100644
index 8f3f6b09800b..000000000000
--- a/sys-process/procps/files/procps-3.2.6-links.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Generate soft links, not hard links
-
---- procps-3.2.6/Makefile
-+++ procps-3.2.6/Makefile
-@@ -227,8 +227,8 @@
- $(install) --mode a=r $(notdir $@) $@
-
- install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
-- cd $(usr/bin) && $(ln_f) skill snice
-- cd $(usr/proc/bin) && $(ln_f) pgrep pkill
-+ cd $(usr/bin) && $(ln_sf) skill snice
-+ cd $(usr/proc/bin) && $(ln_sf) pgrep pkill
-
- ############ prog.c --> prog.o
-
-@@ -254,7 +254,7 @@
- ############ progX --> progY
-
- snice kill: skill
-- ln -f skill $@
-+ $(ln_sf) skill $@
-
- pkill: pgrep
-- ln -f pgrep pkill
-+ $(ln_sf) pgrep pkill
diff --git a/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch b/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch
deleted file mode 100644
index 472e9c0acf89..000000000000
--- a/sys-process/procps/files/procps-mips-n32_isnt_usable_on_mips64_yet.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naurp procps-3.2.4.orig/proc/procps.h procps-3.2.4/proc/procps.h
---- procps-3.2.4.orig/proc/procps.h 2004-08-20 18:40:13 -0400
-+++ procps-3.2.4/proc/procps.h 2005-02-28 10:38:05 -0500
-@@ -31,7 +31,7 @@
- //
- // Unknown: PA-RISC and zSeries
- //
--#if defined(k64test) || defined(_ABIN32)
-+#if defined(k64test)
- #define KLONG long long // not typedef; want "unsigned KLONG" to work
- #define KLF "L"
- #define STRTOUKL strtoull
diff --git a/sys-process/procps/procps-3.2.4-r3.ebuild b/sys-process/procps/procps-3.2.4-r3.ebuild
deleted file mode 100644
index 13bb2be4bff6..000000000000
--- a/sys-process/procps/procps-3.2.4-r3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.4-r3.ebuild,v 1.1 2005/03/03 16:53:14 ciaranm Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="http://procps.sourceforge.net/"
-SRC_URI="http://procps.sf.net/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="n32"
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Upstream patch to support newer linux #77301
- epatch "${FILESDIR}"/${PV}-linux26-slab.patch
- # Upstream patch to fix display on 64bit systems
- epatch "${FILESDIR}"/${PV}-64bit-display.patch
- # Pretty up the /proc mount error message
- epatch "${FILESDIR}"/procps-3.2.5-proc-mount.patch
-
- # Clean up the makefile
- # firstly we want to control stripping
- # and secondly these gcc flags have changed
- sed -i \
- -e '/install/s: --strip : :' \
- -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \
- -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \
- Makefile || die "sed Makefile"
- use ppc && sed -i -e 's:-m64::g' Makefile
-
- # mips patches
- if use mips; then
- # mips 2.4.23+ headers (and 2.6.x) don't allow PAGE_SIZE to be defined in
- # userspace anymore, so this patch instructs procps to get the
- # value from sysconf().
- epatch ${FILESDIR}/${PN}-mips-define-pagesize.patch
-
- # n32 isn't completly reliable of an ABI on mips64 at the current
- # time. Eventually, it will be, but for now, we need to make sure
- # procps doesn't try to force it on us.
- if ! use n32; then
- epatch ${FILESDIR}/${PN}-mips-n32_isnt_usable_on_mips64_yet.patch
- fi
- fi
-}
-
-src_compile() {
- replace-flags -O3 -O2
- emake \
- lib64="$(get_libdir)" \
- CC="$(tc-getCC)" \
- CPPFLAGS="${CPPFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- || die "make failed"
-}
-
-src_install() {
- make install ldconfig="true" DESTDIR="${D}" || die "install failed"
-
- insinto /usr/include/proc
- doins proc/*.h || die "doins include"
-
- dodoc sysctl.conf BUGS NEWS TODO ps/HACKING
-}
-
-pkg_postinst() {
- einfo "NOTE: With NPTL \"ps\" and \"top\" no longer"
- einfo "show threads. You can use any of: -m m -L -T H"
- einfo "in ps or the H key in top to show them"
-}
diff --git a/sys-process/procps/procps-3.2.5-r1.ebuild b/sys-process/procps/procps-3.2.5-r1.ebuild
deleted file mode 100644
index 3d7db6648ea1..000000000000
--- a/sys-process/procps/procps-3.2.5-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.5-r1.ebuild,v 1.8 2005/08/23 01:43:01 vapier Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="http://procps.sourceforge.net/"
-SRC_URI="http://procps.sf.net/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="n32"
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Fix terminal breakage when sorting first column in top #80296
- epatch "${FILESDIR}"/${PV}-top-sort.patch
- # Pretty up the /proc mount error message
- epatch "${FILESDIR}"/procps-3.2.5-proc-mount.patch
-
- # Clean up the makefile
- # - we do stripping ourselves
- # - punt fugly gcc flags
- sed -i \
- -e '/install/s: --strip : :' \
- -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \
- -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \
- -e "/^lib64/s:=.*:=$(get_libdir):" \
- Makefile || die "sed Makefile"
- use ppc && sed -i -e 's:-m64::g' Makefile
-
- # mips patches
- if use mips ; then
- # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in
- # userspace anymore, so this patch instructs procps to get the
- # value from sysconf().
- epatch "${FILESDIR}"/${PN}-mips-define-pagesize.patch
-
- # n32 isn't completly reliable of an ABI on mips64 at the current
- # time. Eventually, it will be, but for now, we need to make sure
- # procps doesn't try to force it on us.
- if ! use n32 ; then
- epatch "${FILESDIR}"/${PN}-mips-n32_isnt_usable_on_mips64_yet.patch
- fi
- fi
-}
-
-src_compile() {
- replace-flags -O3 -O2
- emake \
- CC="$(tc-getCC)" \
- CPPFLAGS="${CPPFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- || die "make failed"
-}
-
-src_install() {
- make install ldconfig="true" DESTDIR="${D}" || die "install failed"
-
- insinto /usr/include/proc
- doins proc/*.h || die "doins include"
-
- dodoc sysctl.conf BUGS NEWS TODO ps/HACKING
-}
-
-pkg_postinst() {
- einfo "NOTE: With NPTL \"ps\" and \"top\" no longer"
- einfo "show threads. You can use any of: -m m -L -T H"
- einfo "in ps or the H key in top to show them"
-}
diff --git a/sys-process/procps/procps-3.2.6.ebuild b/sys-process/procps/procps-3.2.6.ebuild
deleted file mode 100644
index 2aa334fa3c21..000000000000
--- a/sys-process/procps/procps-3.2.6.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/procps/procps-3.2.6.ebuild,v 1.10 2006/04/21 22:23:32 vapier Exp $
-
-inherit flag-o-matic eutils toolchain-funcs multilib
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="http://procps.sourceforge.net/"
-SRC_URI="http://procps.sourceforge.net/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="n32"
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/3.2.5-top-sort.patch
- epatch "${FILESDIR}"/procps-3.2.5-proc-mount.patch
- epatch "${FILESDIR}"/procps-3.2.3-noproc.patch
- epatch "${FILESDIR}"/procps-3.2.6-links.patch
-
- # Clean up the makefile
- # - we do stripping ourselves
- # - punt fugly gcc flags
- sed -i \
- -e '/install/s: --strip : :' \
- -e '/ALL_CFLAGS += $(call check_gcc,-fweb,)/d' \
- -e '/ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing=2,)/s,=2,,' \
- -e "/^lib64/s:=.*:=$(get_libdir):" \
- -e 's:-m64::g' \
- Makefile || die "sed Makefile"
-
- # mips 2.4.23 headers (and 2.6.x) don't allow PAGE_SIZE to be defined in
- # userspace anymore, so this patch instructs procps to get the
- # value from sysconf().
- epatch "${FILESDIR}"/${PN}-mips-define-pagesize.patch
-
- # n32 isn't completly reliable of an ABI on mips64 at the current
- # time. Eventually, it will be, but for now, we need to make sure
- # procps doesn't try to force it on us.
- if ! use n32 ; then
- epatch "${FILESDIR}"/${P}-mips-n32_isnt_usable_on_mips64_yet.patch
- fi
-}
-
-src_compile() {
- replace-flags -O3 -O2
- emake \
- CC="$(tc-getCC)" \
- CPPFLAGS="${CPPFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- || die "make failed"
-}
-
-src_install() {
- make install ldconfig="true" DESTDIR="${D}" || die "install failed"
-
- insinto /usr/include/proc
- doins proc/*.h || die "doins include"
-
- dodoc sysctl.conf BUGS NEWS TODO ps/HACKING
-}
-
-pkg_postinst() {
- einfo "NOTE: With NPTL \"ps\" and \"top\" no longer"
- einfo "show threads. You can use any of: -m m -L -T H"
- einfo "in ps or the H key in top to show them"
-}