aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rshim-user-space
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-04-18 08:15:12 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-04-18 08:15:12 +0000
commit89c9895f82c4249383821d6f3820712b2aa240cc (patch)
treed63e426b03a9ac0726f246a50eabe32207fe7305 /sysutils/rshim-user-space
parent8bb5a5d261193e0506e9933e70cba69217aaf65d (diff)
downloadports-89c9895f82c4249383821d6f3820712b2aa240cc.tar.gz
ports-89c9895f82c4249383821d6f3820712b2aa240cc.zip
Avoid dependency on fuse.
FreeBSD is using cuse(3). Approved by: pi@ (implicit) Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=532002
Diffstat (limited to 'sysutils/rshim-user-space')
-rw-r--r--sysutils/rshim-user-space/files/patch-configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/rshim-user-space/files/patch-configure.ac b/sysutils/rshim-user-space/files/patch-configure.ac
new file mode 100644
index 000000000000..0b05bb58449d
--- /dev/null
+++ b/sysutils/rshim-user-space/files/patch-configure.ac
@@ -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
+ ])