diff options
Diffstat (limited to 'system/zfs-on-linux/zfs-on-linux.SlackBuild')
-rw-r--r-- | system/zfs-on-linux/zfs-on-linux.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild index 1f94508930..447d0eded7 100644 --- a/system/zfs-on-linux/zfs-on-linux.SlackBuild +++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for zfs-on-linux +# Copyright 2017 Marcin Szychowski <szycha@gmail.com>, Poland # Copyright 2016 Kevin Paulus <goarilla@gmail.com>, Belgium # Copyright 2013-2014 Petr Hejl - Czech Republic # All rights reserved. @@ -27,9 +28,11 @@ PRGNAM=zfs-on-linux SRCNAM=zfs -VERSION=${VERSION:-0.6.5.9} +VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +LINUXPATH=${LINUXPATH:-/usr/src/linux} +KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h) if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -73,12 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ -z $LINUXPATH ]; then - LINUXPATH=/usr/src/linux -fi - -KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h) - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |