mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
26
Mk/Uses/fuse.mk
Normal file
26
Mk/Uses/fuse.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
# $FreeBSD: head/Mk/Uses/fuse.mk 452924 2017-10-26 15:37:02Z se $
|
||||
#
|
||||
# Handle dependency on the fuse port
|
||||
#
|
||||
# Feature: fuse
|
||||
# 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)
|
||||
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
|
||||
Reference in New Issue
Block a user