mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
b53bb52ac6
USES=fuse:3 does add a dependency on version 3 of libfuse, which is not compatible with version 2 (which remains default version for now). Both versions can co-exist at build and run time. Reviewed by: mat Approved by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D12694
27 lines
537 B
Makefile
27 lines
537 B
Makefile
# $FreeBSD$
|
|
#
|
|
# 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
|