Package: xtables-addons-source
Version: 1.14-1
Severity: important
Tags: patch
When I use module-assistant to build the xtables-addons modules, no
matter what kernel version I specify, it wants to build against the
currently-running kernel. I have attached a patch that passes the
$(KSRC) make variable on to the configure script.
Thanks,
--
John Wright <[email protected]>
diff --git a/debian/rules b/debian/rules
index bd6d51a..d5b09ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -115,7 +115,8 @@ binary-modules:
./configure --prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- --libexecdir=/lib
+ --libexecdir=/lib \
+ --with-kbuild=$(KSRC)
# Build the module
$(MAKE)