summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-01-22 18:34:51 +0000
committerpho <pho@pkgsrc.org>2022-01-22 18:34:51 +0000
commitdc91c3fa9bf718546b26a3539c326c39931d55e9 (patch)
tree8ae882cdb3d36fe45a42a75bfb28f3882cc359f9 /filesystems
parentb94e3d3d5e4a85db138b0e1bc10b4259a4c34e43 (diff)
downloadpkgsrc-dc91c3fa9bf718546b26a3539c326c39931d55e9.tar.gz
Disable a hack that is incompatible with NetBSD librefuse on HEAD
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/fuse-ext2/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/filesystems/fuse-ext2/Makefile b/filesystems/fuse-ext2/Makefile
index 0578ffb8f34..e590efad621 100644
--- a/filesystems/fuse-ext2/Makefile
+++ b/filesystems/fuse-ext2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/08/11 13:38:14 nia Exp $
+# $NetBSD: Makefile,v 1.12 2022/01/22 18:34:51 pho Exp $
DISTNAME= fuse-ext2-0.0.10
CATEGORIES= filesystems
@@ -18,6 +18,14 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= lib/umview/modules
CHECK_PORTABILITY_SKIP= tools/macosx/fuse-ext2.fs/fuse-ext2.util
+# fuse-ext2 does a weird hack defining FUSE_USE_VERSION to be
+# FUSE_VERSION while FUSE 2.7 is what it actually needs. The hack
+# isn't compatible with NetBSD librefuse. Please, just don't do that.
+SUBST_CLASSES+= fuse-ver
+SUBST_STAGE.fuse-ver= pre-configure
+SUBST_FILES.fuse-ver= configure.ac
+SUBST_SED.fuse-ver= -e 's/FUSE_VERSION/27/g'
+
pre-configure:
cd ${WRKSRC} && autoreconf -fi