Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2020 08:15:12 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r532002 - head/sysutils/rshim-user-space/files
Message-ID:  <202004180815.03I8FCtc051472@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sat Apr 18 08:15:12 2020
New Revision: 532002
URL: https://svnweb.freebsd.org/changeset/ports/532002

Log:
  Avoid dependency on fuse.
  FreeBSD is using cuse(3).
  
  Approved by:	pi@ (implicit)
  Sponsored by:	Mellanox Technologies

Added:
  head/sysutils/rshim-user-space/files/patch-configure.ac   (contents, props changed)

Added: head/sysutils/rshim-user-space/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rshim-user-space/files/patch-configure.ac	Sat Apr 18 08:15:12 2020	(r532002)
@@ -0,0 +1,14 @@
+--- configure.ac.orig	2020-04-18 08:12:49 UTC
++++ configure.ac
+@@ -81,10 +81,10 @@ AS_IF([test "x$build_usb" = "xyes"], [
+ ])
+ 
+ AS_IF([test "x$build_usb" = "xyes"], [
+-  PKG_CHECK_MODULES(fuse, fuse, [], [AC_MSG_ERROR([Can't find fuse])])
+   if test $backend = freebsd; then
+     AC_CHECK_LIB(cuse, cuse_dev_create)
+   else
++    PKG_CHECK_MODULES(fuse, fuse, [], [AC_MSG_ERROR([Can't find fuse])])
+     AC_SUBST(CPPFLAGS, "$CPPFLAGS -DFUSE_USE_VERSION=30")
+ fi
+ ])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004180815.03I8FCtc051472>