diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-09-05 21:28:52 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-09-05 21:28:52 +0000 |
commit | 60df7c97043a16e0718d051ff4a5f1f098aa7f9d (patch) | |
tree | d02f35150ba3c4f197e7d6d04c9304e71754f3e8 /app-arch | |
parent | mirorr:// change (diff) | |
download | historical-60df7c97043a16e0718d051ff4a5f1f098aa7f9d.tar.gz historical-60df7c97043a16e0718d051ff4a5f1f098aa7f9d.tar.bz2 historical-60df7c97043a16e0718d051ff4a5f1f098aa7f9d.zip |
better arch check
Diffstat (limited to 'app-arch')
-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 - - } |