aboutsummaryrefslogtreecommitdiff
path: root/system/spl-solaris/spl-solaris.SlackBuild
diff options
context:
space:
mode:
authorPetr Hejl <silenost01@seznam.cz>2015-04-18 03:39:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-18 03:39:40 +0700
commit1e7a8897a6be6dcec7384f08a5c491223ff31fcb (patch)
tree0609cee8a19713b9f18aa49baf86ab1588ad0304 /system/spl-solaris/spl-solaris.SlackBuild
parentd4207b3364ae9e142a7a121935d575acd84c3da5 (diff)
system/spl-solaris: Updated for version 0.6.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/spl-solaris/spl-solaris.SlackBuild')
-rw-r--r--system/spl-solaris/spl-solaris.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/spl-solaris/spl-solaris.SlackBuild b/system/spl-solaris/spl-solaris.SlackBuild
index e21f6e29d2790..40b3d03440722 100644
--- a/system/spl-solaris/spl-solaris.SlackBuild
+++ b/system/spl-solaris/spl-solaris.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=spl-solaris
SRCNAM=spl
-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 \