summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Seidel <tuxus@gentoo.org>2003-02-08 22:27:20 +0000
committerJan Seidel <tuxus@gentoo.org>2003-02-08 22:27:20 +0000
commit200187cf9e7fbce1639067e66de2d52bdacf81ba (patch)
treef91f167f41e01597b6658905a2e3be8644b8f44f /sys-apps
parentAdded hppa keywords. (diff)
downloadhistorical-200187cf9e7fbce1639067e66de2d52bdacf81ba.tar.gz
historical-200187cf9e7fbce1639067e66de2d52bdacf81ba.tar.bz2
historical-200187cf9e7fbce1639067e66de2d52bdacf81ba.zip
Added mips to keywords and a patch
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/file/ChangeLog6
-rw-r--r--sys-apps/file/file-3.39.ebuild14
2 files changed, 17 insertions, 3 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog
index d576fb34d2e1..9168e705b3c8 100644
--- a/sys-apps/file/ChangeLog
+++ b/sys-apps/file/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for sys-apps/file
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.6 2002/12/20 21:16:44 tuxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.7 2003/02/08 22:27:20 tuxus Exp $
*file-3.37 (20 Dec 2002)
@@ -11,6 +11,10 @@
*file-3.39 (25 Sep 2002)
+ 08 Feb 2003; Jan Seidel <tuxus@gentoo.org> :
+ Added mips to keywords
+ Added a patch for mips that changes the file output so that´s work with libtool
+
25 Sep 2002; Martin Schlemmer <azarah@gentoo.org> :
Update version.
diff --git a/sys-apps/file/file-3.39.ebuild b/sys-apps/file/file-3.39.ebuild
index 16d1d3218ea6..f8fc4cb514c8 100644
--- a/sys-apps/file/file-3.39.ebuild
+++ b/sys-apps/file/file-3.39.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-3.39.ebuild,v 1.6 2002/12/15 10:44:21 bjb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-3.39.ebuild,v 1.7 2003/02/08 22:27:20 tuxus Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Program to identify a file's format by scanning binary data for patterns"
@@ -8,12 +8,22 @@ SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz
ftp://ftp.astron.com/pub/file/${P}.tar.gz"
HOMEPAGE="ftp://ftp.astron.com/pub/file/"
-KEYWORDS="x86 ppc sparc alpha"
+KEYWORDS="x86 ppc sparc alpha mips"
SLOT="0"
LICENSE="as-is"
DEPEND="virtual/glibc"
+src_unpack() {
+ unpack ${A}
+
+ if [ "${ARCH}" = "mips" ]
+ then
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die
+ fi
+}
+
src_compile() {
./configure --prefix=/usr \
--mandir=/usr/share/man \