diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:40:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-27 18:40:38 +0000 |
commit | 1eda886143c51f7daf686ca6670b609e9dad2af4 (patch) | |
tree | 4923f22bc407931cccc28e4c2dad7b735f9825ad /sys-apps | |
parent | old (diff) | |
download | gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.tar.gz gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.tar.bz2 gentoo-2-1eda886143c51f7daf686ca6670b609e9dad2af4.zip |
Cleanup ebuild and block coreutils #248312 by Diego E. Pettenò.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/stat/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/stat/stat-3.3.ebuild | 21 |
2 files changed, 15 insertions, 13 deletions
diff --git a/sys-apps/stat/ChangeLog b/sys-apps/stat/ChangeLog index 9c37b25efdb7..7c468bfa9479 100644 --- a/sys-apps/stat/ChangeLog +++ b/sys-apps/stat/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/stat -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/ChangeLog,v 1.15 2008/09/14 09:05:33 solar Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/ChangeLog,v 1.16 2008/11/27 18:40:38 vapier Exp $ + + 27 Nov 2008; Mike Frysinger <vapier@gentoo.org> stat-3.3.ebuild: + Cleanup ebuild and block coreutils #248312 by Diego E. Pettenò. 14 Sep 2008; <solar@gentoo.org> stat-2.5.ebuild, stat-3.3.ebuild: - keyword amd64/~arm. fix QA warning. Make cross compile aware. Remove old diff --git a/sys-apps/stat/stat-3.3.ebuild b/sys-apps/stat/stat-3.3.ebuild index 0b0cd22afdda..2ec62bed2636 100644 --- a/sys-apps/stat/stat-3.3.ebuild +++ b/sys-apps/stat/stat-3.3.ebuild @@ -1,33 +1,32 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/stat-3.3.ebuild,v 1.9 2008/10/27 05:58:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/stat/stat-3.3.ebuild,v 1.10 2008/11/27 18:40:38 vapier Exp $ inherit eutils toolchain-funcs DESCRIPTION="A command-line stat() wrapper" -SRC_URI="ftp://metalab.unc.edu/pub/linux/utils/file/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/directory/stat.html" +SRC_URI="ftp://metalab.unc.edu/pub/linux/utils/file/${P}.tar.gz" -KEYWORDS="amd64 arm sparc x86" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm sparc x86" IUSE="" +DEPEND="!sys-apps/coreutils" + src_unpack() { unpack ${A} cd "${S}" - - cp Makefile Makefile.orig - sed -e "s:-O2 -g:${CFLAGS}:" Makefile.orig > Makefile + sed -i -e "s:-O2 -g:${CFLAGS} ${CPPFLAGS}:" Makefile } src_compile() { - tc-export CC - emake CC="${CC}" || die + emake CC="$(tc-getCC)" || die } src_install() { - dobin stat + dobin stat || die doman stat.1 - dodoc COPYRIGHT GPL README Changelog + dodoc COPYRIGHT README Changelog } |