[BACK]Return to patch-configure.ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-bindfs / patches

File: [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-bindfs / patches / patch-configure.ac (download)

Revision 1.1, Tue Nov 30 12:34:24 2021 UTC (2 years, 3 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD

Update to bindfs-1.15.1 from 1.8.4

ChangeLog is too long to paste here:
https://bindfs.org/docs/ChangeLog.utf8.txt

Note: On NetBSD, bindfs always maps the root directory "/" regardless
of what source directory specified, unless the -f (foreground) option
is given. The issue existed in 1.8.4 and I thought updating the
package could fix it, but it didn't. The problem was actually in
librefuse, which is now fixed in HEAD:
http://mail-index.netbsd.org/source-changes/2021/11/30/msg134159.html

$NetBSD: patch-configure.ac,v 1.1 2021/11/30 12:34:24 pho Exp $

* Fix shell portability.
* Fix an incorrect logic to detect fuse >= 2.6.

--- configure.ac.orig	2021-11-30 11:00:36.957203334 +0000
+++ configure.ac
@@ -17,11 +17,11 @@ AC_ARG_WITH([fuse2],
 AC_ARG_WITH([fuse3],
     [AS_HELP_STRING([--with-fuse3], [link against libfuse 3.x (default: autodetect, preferring 3.x)])])
 
-if test x"$enable_debug_output" == "xyes" ; then
+if test x"$enable_debug_output" = "xyes" ; then
     AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages])
 fi
 
-if test x"$with_core_foundation" == "xyes" ; then
+if test x"$with_core_foundation" = "xyes" ; then
     AC_MSG_NOTICE([Linking with Core Foundation])
     LDFLAGS="${LDFLAGS} -framework CoreFoundation"
 fi
@@ -69,7 +69,7 @@ AC_DEFUN([CHECK_FUSE2],
             AC_DEFINE([HAVE_FUSE_29], [1], [Have FUSE >= 2.9.0])
             AC_DEFINE([FUSE_USE_VERSION], [26], [FUSE API VERSION = 2.6])
         ],
-        [PKG_CHECK_MODULES([fuse], [fuse >= 2.8.0],
+        [PKG_CHECK_MODULES([fuse], [fuse >= 2.6.0],
             [
                 AC_DEFINE([FUSE_USE_VERSION], [26], [FUSE API VERSION = 2.6])
             ],
@@ -88,9 +88,9 @@ AC_DEFUN([CHECK_FUSE3],
     )]
 )
 
-AS_IF([test "x$with_fuse2" == "xyes"],
+AS_IF([test "x$with_fuse2" = "xyes"],
     [CHECK_FUSE2([AC_MSG_ERROR([FUSE 2 not found])])],
-    [AS_IF([test "x$with_fuse3" == "xyes"],
+    [AS_IF([test "x$with_fuse3" = "xyes"],
         [CHECK_FUSE3([AC_MSG_ERROR([FUSE 3 not found])])],
         [CHECK_FUSE3([CHECK_FUSE2([AC_MSG_ERROR([FUSE not found])])])]
     )]