aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-12-14 15:47:00 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-12-14 15:47:00 +0000
commitd26530b7136cdbbc743cb41cba488928a2fb490e (patch)
tree2f5c5fe4cb36fc6a28856c97750108bf78f9b5b4 /Mk/bsd.port.mk
parent7045030009ee59cfe75c17ba591c3798c3478b68 (diff)
downloadports-d26530b7136cdbbc743cb41cba488928a2fb490e.tar.gz
ports-d26530b7136cdbbc743cb41cba488928a2fb490e.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
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