summaryrefslogtreecommitdiff
path: root/system/zfs-on-linux/zfs-on-linux.SlackBuild
diff options
context:
space:
mode:
authorPetr Hejl <silenost01@seznam.cz>2015-04-18 03:40:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-18 03:40:26 +0700
commit9c2114f1ec35c073bfbd624b74abae46c7242d9f (patch)
tree5aee893b4f0cc1fc10864966419e63baa3bf6251 /system/zfs-on-linux/zfs-on-linux.SlackBuild
parent1e7a8897a6be6dcec7384f08a5c491223ff31fcb (diff)
downloadslackbuilds-9c2114f1ec35c073bfbd624b74abae46c7242d9f.tar.gz
system/zfs-on-linux: Updated for version 0.6.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \