diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 67ed5b3c79f3..c48cb284f5f7 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -408,6 +408,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org # - Legal values are: gamin (default),fam # If set to an unknown value, the port is marked IGNORE. ## +# USE_FUSE - If set, make sure necessary components unavailable in base +# are installed from ports. +## # USE_AUTOTOOLS - If set, this port uses various GNU autotools # (libtool, autoconf, autoheader, automake et al.) # See bsd.autotools.mk for more details. @@ -1833,6 +1836,13 @@ IGNORE= cannot be built with unknown FAM system: ${FAM_SYSTEM} .endif .endif # USE_FAM +.if defined(USE_FUSE) +LIB_DEPENDS+= fuse:${PORTSDIR}/sysutils/fusefs-libs +.if !exists(/sbin/mount_fusefs) +RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod +.endif +.endif + .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" SUB_FILES+= ${USE_RC_SUBR} .endif |