aboutsummaryrefslogtreecommitdiff
path: root/system/spl-solaris/spl-solaris.SlackBuild
diff options
context:
space:
mode:
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 \