Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting2.git;a=commitdiff;h=f78d935ec086d4cbebc114ab11a37683e5553f65

commit f78d935ec086d4cbebc114ab11a37683e5553f65
Author: Michel Hermier <herm...@frugalware.org>
Date:   Wed Jan 12 23:37:43 2011 +0100

ndiswrapper-1.56-15-i686

* Use the upstream way to provide kernel version.

diff --git a/source/network/ndiswrapper/FrugalBuild 
b/source/network/ndiswrapper/FrugalBuild
index 0b307bc..e0f8acf 100644
--- a/source/network/ndiswrapper/FrugalBuild
+++ b/source/network/ndiswrapper/FrugalBuild
@@ -4,14 +4,14 @@

pkgname=ndiswrapper
pkgver=1.56
-pkgrel=14
+pkgrel=15
pkgdesc="Wrapper for using Windows drivers for some wireless cards"
_F_kernelmod_scriptlet=$pkgname.install
Finclude kernel-module sourceforge
depends=(${depends[@]} 'pciutils' 'wireless_tools')
groups=('network')
archs=('i686' 'x86_64')
-source=(${source[@]} README.Frugalware ndiswrapper-detect-fix-x86_64.patch \
+source=("${source[@]}" README.Frugalware ndiswrapper-detect-fix-x86_64.patch \
kernel-2.6.3{5,6}.patch)
sha1sums=('c461cf8e2c1f9e1f87e2a5c5e717f13d2fef5364' \
'c3f24143cb9814326a2c0c3cbc8d58d953bac268' \
@@ -22,10 +22,8 @@ sha1sums=('c461cf8e2c1f9e1f87e2a5c5e717f13d2fef5364' \
build()
{
# no Fcheckkernel, crosscompilation verified
-       Fpatchall
-       Fsed '$(shell uname -r)' "$_F_kernelmod_uname" {driver/,}Makefile
-       Fmake
-       Fmakeinstall
+       export MAKEFLAGS="${MAKEFLAGS} KVERS=\"$_F_kernelmod_uname\""
+       Fbuild
Fdoc README.Frugalware
Fbuild_kernelmod_scriptlet
Frm lib/modules/*/modules.*
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to