diff options
author | 2004-04-27 04:14:38 +0000 | |
---|---|---|
committer | 2004-04-27 04:14:38 +0000 | |
commit | 3d644dc5b889f89223bcb2dd4072a5d24959905d (patch) | |
tree | 742ad587d670524e5fee34c6cd559ac15619b15f /sys-apps | |
parent | add arm KEYWORD (diff) | |
download | historical-3d644dc5b889f89223bcb2dd4072a5d24959905d.tar.gz historical-3d644dc5b889f89223bcb2dd4072a5d24959905d.tar.bz2 historical-3d644dc5b889f89223bcb2dd4072a5d24959905d.zip |
arm KEYWORDS
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/file/file-4.08.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-apps/file/file-4.08.ebuild b/sys-apps/file/file-4.08.ebuild index 1ce97edb0704..d69950fd47b8 100644 --- a/sys-apps/file/file-4.08.ebuild +++ b/sys-apps/file/file-4.08.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.08.ebuild,v 1.3 2004/03/30 02:52:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.08.ebuild,v 1.4 2004/04/27 04:14:38 vapier Exp $ -inherit flag-o-matic gnuconfig +inherit flag-o-matic gnuconfig eutils DESCRIPTION="Program to identify a file's format by scanning binary data for patterns" HOMEPAGE="ftp://ftp.astron.com/pub/file/" @@ -11,7 +11,8 @@ SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz LICENSE="as-is" SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha hppa ~mips ~ia64 ~ppc64 ~s390" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha arm hppa ~amd64 ~ia64 ~ppc64 ~s390" +IUSE="" DEPEND="virtual/glibc" @@ -23,9 +24,7 @@ src_unpack() { # This patch is for MIPS only. It slightly changes the 'file' output # on MIPS machines to a specific format so that other programs can # recognize things. - if [ "${ARCH}" = "mips" ]; then - epatch ${FILESDIR}/${PN}-4.xx-mips-gentoo.diff - fi + use mips && epatch ${FILESDIR}/${PN}-4.xx-mips-gentoo.diff } src_compile() { @@ -45,7 +44,7 @@ src_install() { make DESTDIR=${D} install || die "make install failed" if ! use build ; then - dodoc ChangeLog LEGAL.NOTICE MAINT README || die "dodoc failed" + dodoc ChangeLog MAINT README else rm -rf ${D}/usr/share/man fi |