diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-22 04:18:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-22 04:18:12 +0000 |
commit | 494f635c421c09d814d65b2ea7cb8a2650d5d1ad (patch) | |
tree | cb1308bfd9f04d970e8b2dad7160a1b911cce122 /sys-apps/procps | |
parent | make sure we use custom CC and CFLAGS (diff) | |
download | gentoo-2-494f635c421c09d814d65b2ea7cb8a2650d5d1ad.tar.gz gentoo-2-494f635c421c09d814d65b2ea7cb8a2650d5d1ad.tar.bz2 gentoo-2-494f635c421c09d814d65b2ea7cb8a2650d5d1ad.zip |
cross-compile friendly
Diffstat (limited to 'sys-apps/procps')
-rw-r--r-- | sys-apps/procps/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/procps/procps-3.2.0.ebuild | 23 |
2 files changed, 16 insertions, 14 deletions
diff --git a/sys-apps/procps/ChangeLog b/sys-apps/procps/ChangeLog index 474358370f78..cb5d8d8564a3 100644 --- a/sys-apps/procps/ChangeLog +++ b/sys-apps/procps/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/procps # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/ChangeLog,v 1.62 2004/03/09 23:38:54 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/ChangeLog,v 1.63 2004/03/22 04:18:12 vapier Exp $ + + 21 Mar 2004; Mike Frysinger <vapier@gentoo.org> : + Add custom LDFLAGS to the makefile as well as remove the --strip from + the install command (let portage handle that). Also, dont install COPYING + files since they're just $LICENSE. 09 Mar 2004; <agriffis@gentoo.org> procps-3.1.15.ebuild: stable on alpha and ia64 diff --git a/sys-apps/procps/procps-3.2.0.ebuild b/sys-apps/procps/procps-3.2.0.ebuild index d78a0530f688..783013500851 100644 --- a/sys-apps/procps/procps-3.2.0.ebuild +++ b/sys-apps/procps/procps-3.2.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/procps-3.2.0.ebuild,v 1.2 2004/02/24 15:37:04 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/procps/procps-3.2.0.ebuild,v 1.3 2004/03/22 04:18:12 vapier Exp $ -inherit flag-o-matic +inherit flag-o-matic eutils -DESCRIPTION="Standard informational utilities and process-handling tools -ps top tload snice vmstat free w watch uptime pmap skill pkill kill pgrep sysctl" +DESCRIPTION="Standard informational utilities and process-handling tools" HOMEPAGE="http://procps.sourceforge.net/" SRC_URI="http://${PN}.sf.net/${P}.tar.gz" @@ -22,10 +22,12 @@ src_unpack() { epatch ${FILESDIR}/procps-3.2.0-selinux-Z.diff # Use the CFLAGS from /etc/make.conf. - replace-flags "-O3" "-O2" - for file in `find . -iname "Makefile"`;do - sed -i "s:-O2:${CFLAGS}:" ${file} - done + replace-flags -O3 -O2 + sed -i \ + -e "s:-O2:${CFLAGS}:" \ + -e "/^LDFLAGS/s:$: ${LDFLAGS}:" \ + -e "/install/s: --strip : :" \ + Makefile } src_compile() { @@ -34,12 +36,7 @@ src_compile() { src_install() { einstall DESTDIR="${D}"|| die - - dodoc BUGS COPYING COPYING.LIB NEWS TODO - docinto proc - dodoc proc/COPYING - docinto ps - dodoc ps/COPYING ps/HACKING + dodoc BUGS NEWS TODO pc/HACKING } pkg_postinst() { |