diff options
Diffstat (limited to 'system/spl-solaris/spl-solaris.SlackBuild')
-rw-r--r-- | system/spl-solaris/spl-solaris.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/system/spl-solaris/spl-solaris.SlackBuild b/system/spl-solaris/spl-solaris.SlackBuild index 41e40784756d8..1969c0253de52 100644 --- a/system/spl-solaris/spl-solaris.SlackBuild +++ b/system/spl-solaris/spl-solaris.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for spl-solaris +# 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=spl-solaris SRCNAM=spl -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 \ |