Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144541587
D12694.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
901 B
Referenced Files
None
Subscribers
None
D12694.diff
View Options
Index: head/Mk/Uses/fuse.mk
===================================================================
--- head/Mk/Uses/fuse.mk
+++ head/Mk/Uses/fuse.mk
@@ -1,20 +1,26 @@
# $FreeBSD$
#
-# handle dependency on the fuse port
+# Handle dependency on the fuse port
#
# Feature: fuse
-# Usage: USES=fuse
-# Valid ARGS: does not require args
-#
-# MAINTAINER: portmgr@FreeBSD.org
+# Usage: USES=fuse[:version]
+# Valid ARGS: 2 [default], 3
+# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_FUSE_MK)
_INCLUDE_USES_FUSE_MK= yes
.if !empty(fuse_ARGS)
-IGNORE= USES=fuse does not require args
+LIBFUSE_VER= ${fuse_ARGS}
.endif
+LIBFUSE_VER?= 2
+.if ${LIBFUSE_VER} == 2
LIB_DEPENDS+= libfuse.so:sysutils/fusefs-libs
+.elif ${LIBFUSE_VER} == 3
+LIB_DEPENDS+= libfuse3.so:sysutils/fusefs-libs3
+.else
+IGNORE= cannot install: unknown FUSE library version: ${LIBFUSE_VERSION}
+.endif
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 10, 9:12 AM (12 h, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28619509
Default Alt Text
D12694.diff (901 B)
Attached To
Mode
D12694: USES support for sysutils/fusefs-libs3 FUSE support library
Attached
Detach File
Event Timeline
Log In to Comment