void-packages/srcpkgs/virtualbox-ose/patches/kernel_headers_path.diff
2011-07-10 21:29:11 +02:00

15 lines
507 B
Diff

--- foo.orig/configure.orig 2010-12-22 14:24:16.536609268 +0100
+++ foo/configure 2010-12-22 14:24:57.939796907 +0100
@@ -139,11 +139,7 @@ QT4DIR_PKGCONFIG=1
QT4UIC3DIR="/usr/bin"
KBUILDDIR="`cd \`dirname $0\`; pwd`/kBuild"
DEVDIR="`cd \`dirname $0\`; pwd`/tools"
-if [ -d "/lib/modules/`uname -r`/build" ]; then
- LINUX="/lib/modules/`uname -r`/build"
-else
- LINUX="/usr/src/linux"
-fi
+LINUX="/lib/modules/@@XBPS_KERNHDRVER@@/build"
KCHMVIEWER="kchmviewer"
LOG="configure.log"
CNF="AutoConfig.kmk"