diff options
author | 2002-09-05 21:28:52 +0000 | |
---|---|---|
committer | 2002-09-05 21:28:52 +0000 | |
commit | 8a7b14f253a9d829b8eea398d4b5810c377cee02 (patch) | |
tree | 4de1cf73dd7c8a158fb8233a9e3ab32e39830387 /app-arch/unzip | |
parent | mirorr:// change (diff) | |
download | gentoo-2-8a7b14f253a9d829b8eea398d4b5810c377cee02.tar.gz gentoo-2-8a7b14f253a9d829b8eea398d4b5810c377cee02.tar.bz2 gentoo-2-8a7b14f253a9d829b8eea398d4b5810c377cee02.zip |
better arch check
Diffstat (limited to 'app-arch/unzip')
-rw-r--r-- | app-arch/unzip/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/unzip/unzip-5.42-r1.ebuild | 12 |
2 files changed, 11 insertions, 9 deletions
diff --git a/app-arch/unzip/ChangeLog b/app-arch/unzip/ChangeLog index e3fbba271a50..8c8f47b13d06 100644 --- a/app-arch/unzip/ChangeLog +++ b/app-arch/unzip/ChangeLog @@ -1,9 +1,15 @@ # ChangeLog for app-arch/unzip # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.4 2002/08/14 15:06:00 jmorgan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.5 2002/09/05 21:28:52 seemant Exp $ *unzip-5.42-r1 (25 Jul 2002) + 05 Sep 2002; Seemant Kulleen <seemant@gentoo.org> unzip-5.42-r1.ebuild : + + Per bug #7540 by rob1@rekl.yi.org (robert longhausen), the arch was not + matching. The arch check has been switched to the new format (use x86 && + || ) + 15 Aug 2002; Jack Morgan <jmorgan@gentoo.org> : Added KEYWORDS sparc64 diff --git a/app-arch/unzip/unzip-5.42-r1.ebuild b/app-arch/unzip/unzip-5.42-r1.ebuild index 450fb72d16f6..53abeffe23b3 100644 --- a/app-arch/unzip/unzip-5.42-r1.ebuild +++ b/app-arch/unzip/unzip-5.42-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.42-r1.ebuild,v 1.8 2002/08/16 02:33:33 murphy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.42-r1.ebuild,v 1.9 2002/09/05 21:28:52 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="Unzipper for pkzip-compressed files" @@ -18,13 +18,11 @@ src_compile() { cp unix/Makefile unix/Makefile.orig sed -e "s:-O3:${CFLAGS}:" unix/Makefile.orig > unix/Makefile - case $ARCH in - i?.86) TARGET=linux ;; - *) TARGET=linux_noasm ;; - esac + use x86 \ + && TARGET=linux \ + || TARGET=linux_noasm make -f unix/Makefile $TARGET || die - } src_install() { @@ -32,6 +30,4 @@ src_install() { dobin unzip funzip unzipsfx unix/zipgrep doman man/*.1 dodoc BUGS COPYING History* LICENSE README ToDo WHERE - - } |