1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/Mk/Uses/fuse.mk
Tobias C. Berner aa25396790 framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
2022-04-24 12:00:20 +02:00

25 lines
533 B
Makefile

# Handle dependency on the fuse port
#
# Feature: fuse
# Usage: USES=fuse[:version]
# Valid ARGS: 2 [default], 3
# MAINTAINER: ports@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