[arch-commits] CVS update of arch/build/base/libdownload (PKGBUILD)

Eric Belanger eric at archlinux.org
Sat Aug 18 01:53:40 UTC 2007


    Date: Friday, August 17, 2007 @ 21:53:40
  Author: eric
    Path: /home/cvs-arch/arch/build/base/libdownload

Modified: PKGBUILD (1.2 -> 1.3)

only apply patch for i686


----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Index: arch/build/base/libdownload/PKGBUILD
diff -u arch/build/base/libdownload/PKGBUILD:1.2 arch/build/base/libdownload/PKGBUILD:1.3
--- arch/build/base/libdownload/PKGBUILD:1.2	Fri Aug 17 20:08:04 2007
+++ arch/build/base/libdownload/PKGBUILD	Fri Aug 17 21:53:40 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.2 2007/08/18 00:08:04 dan Exp $
+# $Id: PKGBUILD,v 1.3 2007/08/18 01:53:40 eric Exp $
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=libdownload
@@ -17,7 +17,7 @@
 build() {
   cd $startdir/src/${pkgname}-${pkgver}
   # patch with support for large files as pacman is built with it
-  patch -p1 -i ../largefiles.patch || return 1
+  [ "$CARCH" = "i686" ] && patch -p1 -i ../largefiles.patch || return 1
 
   [ "$CARCH" = "x86_64" ] && sed -i -e "s/-O2\ -pipe/-O2\ -pipe\ \-fPIC/g" Makefile
   make || return 1




More information about the arch-commits mailing list