summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matt Egger <matt.egger@gmail.com>2024-05-02 15:27:26 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:45:14 +0700
commite30e60c8d9f08fd3a6f7aedfd5a0e20f0e576cdb (patch)
tree0cd7b52e8fb54ddbba30d748234ef1d5a2eaf137
parent4eaaeb96b3e77589bec9e18910183e0e52bb329c (diff)
downloadslackbuilds-e30e60c8d9f08fd3a6f7aedfd5a0e20f0e576cdb.tar.gz
slackbuilds-e30e60c8d9f08fd3a6f7aedfd5a0e20f0e576cdb.tar.xz
system/openzfs: removed unnecessary configure arguments
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/openzfs/openzfs.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/system/openzfs/openzfs.SlackBuild b/system/openzfs/openzfs.SlackBuild
index 3b56954416..1d5e1206cd 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