[arch-commits] CVS update of core/support/madwifi (PKGBUILD)
Alexander Baldeck
alexander at archlinux.org
Mon Oct 8 15:26:50 UTC 2007
Date: Monday, October 8, 2007 @ 11:26:50
Author: alexander
Path: /home/cvs-core/core/support/madwifi
Modified: PKGBUILD (1.22 -> 1.23)
* added switch to export ARCH as i386 and not i686 to make it build with linux32
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: core/support/madwifi/PKGBUILD
diff -u core/support/madwifi/PKGBUILD:1.22 core/support/madwifi/PKGBUILD:1.23
--- core/support/madwifi/PKGBUILD:1.22 Mon Oct 8 11:20:55 2007
+++ core/support/madwifi/PKGBUILD Mon Oct 8 11:26:50 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.22 2007/10/08 15:20:55 alexander Exp $
+# $Id: PKGBUILD,v 1.23 2007/10/08 15:26:50 alexander Exp $
# Originally by kleptophobiac <kleptophobiac at gmail.com>
# Modified by James Rayner for the repositories <iphitus at gmail.com>
@@ -17,6 +17,8 @@
source=(http://downloads.sourceforge.net/madwifi/madwifi-${pkgver}.tar.gz)
build() {
+ [ "${CARCH}" == "i686" ] && export ARCH=i386
+
cd $startdir/src/$pkgname-$pkgver
sed -i -e 's/-Werror//g' Makefile.inc
make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules|| return 1
More information about the arch-commits
mailing list