summaryrefslogtreecommitdiff
path: root/system/zfs-on-linux/zfs-on-linux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zfs-on-linux/zfs-on-linux.SlackBuild')
-rw-r--r--system/zfs-on-linux/zfs-on-linux.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild
index e6229c513c..ad0aa5b9c0 100644
--- a/system/zfs-on-linux/zfs-on-linux.SlackBuild
+++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=zfs-on-linux
SRCNAM=zfs
-VERSION=${VERSION:-0.6.3}
+VERSION=${VERSION:-0.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,8 +57,6 @@ else
LIBDIRSUFFIX=""
fi
-KERN=$(uname -r)
-
set -e
rm -rf $PKG
@@ -78,6 +76,8 @@ if [ -z $LINUXPATH ]; then
LINUXPATH=/usr/src/linux
fi
+KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h)
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \