1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/Mk/Uses/fuse.mk
Baptiste Daroussin a5343ca147 Workaround a bug in tinderbox/pointyhat that leaks /sbin/mount_fuse
from the host when host is HEAD.

This leads when building packages for 9.x or 8.x to ignore the fuse-kmod
dependency the fuse ports should have on those versions.
2013-03-27 23:39:43 +00:00

25 lines
484 B
Makefile

# $FreeBSD$
#
# handle dependency on the fuse port
#
# MAINTAINER: portmgr@FreeBSD.org
#
# Feature: fuse
# Usage: USES=fuse
# Valid ARGS: does not require args
#
#
.if !defined(_INCLUDE_USES_FUSE_MK)
_INCLUDE_USES_FUSE_MK= yes
.if defined(fuse_ARGS)
IGNORE= USES=fuse does not require args
.endif
LIB_DEPENDS+= fuse:${PORTSDIR}/sysutils/fusefs-libs
.if !exists(/sbin/mount_fusefs) || ${OSVERSION} < 1000019
RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
.endif
.endif