diff options
Diffstat (limited to 'system/openzfs')
-rw-r--r-- | system/openzfs/openzfs.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/system/openzfs/openzfs.SlackBuild b/system/openzfs/openzfs.SlackBuild index 3b56954416b3..1d5e1206cdef 100644 --- a/system/openzfs/openzfs.SlackBuild +++ b/system/openzfs/openzfs.SlackBuild @@ -33,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openzfs SRCNAM=zfs VERSION=${VERSION:-2.2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,9 +49,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -110,8 +107,6 @@ CFLAGS="$SLKCFLAGS" \ --includedir=/usr/include \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-linux="/lib/modules/${KERNEL}/source" \ - --with-linux-obj="/lib/modules/${KERNEL}/source" \ --with-udevdir=/lib/udev \ --enable-static=no \ $DRACUTLIBDIR \ @@ -125,7 +120,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la # clean up leftovers if [ "$ARCH" = "x86_64" ]; then rm -fr $PKG/usr/lib -elif [ -z "${DRACUTLIBDIR}" ]; then +elif [ -z "${DRACUTLIBDIR}" ]; then rm -fr $PKG/usr/lib/dracut fi rm -fr $PKG/usr/src |