aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan.jov@gmail.com>2022-09-27 03:45:15 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2022-09-27 04:08:12 +0000
commitc80f55d775ccc6a00cd9523b4fe781aa6171817a (patch)
tree8794b581e0ecc38add6c19dd7c7aef475133bed5
parent9901fd092a8c8e43f24217ebea61a6f53ad245fb (diff)
downloadports-c80f55d775ccc6a00cd9523b4fe781aa6171817a.tar.gz
ports-c80f55d775ccc6a00cd9523b4fe781aa6171817a.zip
devel/gvfs: Depend on sysutils/lsof at run time
When a drive cannot be unmounted and returns EBUSY, gvfs calls "lsof -t /mountpoint" to find which processes have files open. This list is sent over the "show-processes" signal, which allows file managers to show which apps are preventing the unmount. For this to work, sysutils/lsof needs to be around. PR: 254322 Approved by: desktop (fluffy) Differential Revision: https://reviews.freebsd.org/D32018
-rw-r--r--devel/gvfs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile
index e7097391707b..f14beb6f8c0f 100644
--- a/devel/gvfs/Makefile
+++ b/devel/gvfs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gvfs
PORTVERSION= 1.50.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
@@ -19,8 +20,8 @@ LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgudev-1.0.so:devel/libgudev \
libudisks2.so:sysutils/libudisks \
libsecret-1.so:security/libsecret
-
-RUN_DEPENDS= bsdisks>0:sysutils/bsdisks
+RUN_DEPENDS= bsdisks>0:sysutils/bsdisks \
+ lsof:sysutils/lsof
PORTSCOUT= limitw:1,even
USES= cpe gettext gnome libarchive localbase meson \