[arch-commits] CVS update of extra/system/unzip (PKGBUILD)
Eric Belanger
eric at archlinux.org
Sun Nov 18 02:02:47 UTC 2007
Date: Saturday, November 17, 2007 @ 21:02:47
Author: eric
Path: /home/cvs-extra/extra/system/unzip
Modified: PKGBUILD (1.15 -> 1.16)
upgpkg: unzip 5.52-3
fixed build issue on x86_64 (AMD). Might be needed for i686 non-Intel machine too.
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Index: extra/system/unzip/PKGBUILD
diff -u extra/system/unzip/PKGBUILD:1.15 extra/system/unzip/PKGBUILD:1.16
--- extra/system/unzip/PKGBUILD:1.15 Fri Nov 16 09:40:17 2007
+++ extra/system/unzip/PKGBUILD Sat Nov 17 21:02:47 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.15 2007/11/16 14:40:17 roman Exp $
+# $Id: PKGBUILD,v 1.16 2007/11/18 02:02:47 eric Exp $
# Maintainer: Dan McGee <dan at archlinux.org>
pkgname=unzip
@@ -25,7 +25,11 @@
[ "$CARCH" == "x86_64" ] && (patch -Np0 -i ../unzip542-size-64bit.patch || return 1)
export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
- make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux || return 1
+ if [ "${CARCH}" = "i686" ]; then
+ make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux || return 1
+ else
+ make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux_noasm || return 1
+ fi
make -f unix/Makefile prefix=$startdir/pkg/usr install
install -Dm644 LICENSE $startdir/pkg/usr/share/licenses/unzip/LICENSE
More information about the arch-commits
mailing list