File version_check.diff of Package tp_smapi-kmp

diff -Naur a/Makefile b/Makefile
--- a/Makefile	2008-12-16 05:03:06.000000000 +0000
+++ b/Makefile	2009-01-15 02:47:01.000000000 +0000
@@ -27,7 +27,7 @@
 
 DEBUG := 0
 
-ifneq ($(shell [ -f $(KBUILD)/include/linux/aio_abi.h ] && echo 1),1)
+ifneq ($(shell [ -f $(KSRC)/include/linux/aio_abi.h ] && echo 1),1)
 $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
 $(warning You may need to override the following Make variables:)
 $(warning .   KVER=$(KVER))
openSUSE Build Service is sponsored by