void-packages/srcpkgs/virtualbox-ose/patches/kernel_headers_path.diff

16 lines
494 B
Diff
Raw Normal View History

--- configure.orig 2010-12-22 14:24:16.536609268 +0100
+++ 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"