git: 97f98ba45c95 - main - treewide: Remove references to USES= fam and move to LIB_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Jan 2026 00:14:41 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=97f98ba45c954c94d741439cfcf66d5e5059e3e4
commit 97f98ba45c954c94d741439cfcf66d5e5059e3e4
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-01-11 17:57:24 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-01-13 00:12:09 +0000
treewide: Remove references to USES= fam and move to LIB_DEPENDS
Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.
Approved by: blanket
---
deskutils/recoll/Makefile | 7 ++++---
devel/kf5-kcoreaddons/Makefile | 2 +-
devel/py-fam/Makefile | 4 +++-
mail/courier/Makefile | 3 ++-
mail/gnubiff/Makefile | 5 +++--
mail/sqwebmail/Makefile | 2 +-
net/samba416/Makefile | 2 +-
net/samba419/Makefile | 2 +-
net/samba420/Makefile | 2 +-
net/samba422/Makefile | 2 +-
net/samba423/Makefile | 2 +-
sysutils/fileschanged/Makefile | 5 +++--
sysutils/p5-Sys-Gamin/Makefile | 4 +++-
x11-fm/gentoo/Makefile | 2 +-
14 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile
index 10ca76933b01..2d08830bc56b 100644
--- a/deskutils/recoll/Makefile
+++ b/deskutils/recoll/Makefile
@@ -12,14 +12,15 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_SETUPTOOLS}
-LIB_DEPENDS= libxapian.so:databases/xapian-core
+LIB_DEPENDS= libfam.so.0:devel/gamin \
+ libxapian.so:databases/xapian-core
RUN_DEPENDS= antiword:textproc/antiword \
catdoc:textproc/catdoc \
unrar:archivers/unrar \
unrtf:textproc/unrtf \
wpd2html:textproc/libwpd010
-USES= bison compiler:c++11-lang fam gmake gnome iconv libtool \
+USES= bison compiler:c++11-lang gmake gnome iconv libtool \
localbase pkgconfig python shebangfix
USE_GNOME= libxslt
USE_LDCONFIG= yes
@@ -61,7 +62,7 @@ QT5_CONFIGURE_ON= --disable-webkit
QT5_CONFIGURE_OFF= --disable-qtgui
SOUND_RUN_DEPENDS= mutagen-pony-${PYTHON_VER}:audio/py-mutagen@${PY_FLAVOR}
X11MON_DESC= X11 session monitoring support
-X11MON_USES= fam xorg
+X11MON_USES= xorg
X11MON_USE= XORG=ice,sm,x11
X11MON_CONFIGURE_OFF= --disable-x11mon
X11MON_CONFIGURE_ON= --with-fam
diff --git a/devel/kf5-kcoreaddons/Makefile b/devel/kf5-kcoreaddons/Makefile
index 7b888d34327f..221cf2fdc133 100644
--- a/devel/kf5-kcoreaddons/Makefile
+++ b/devel/kf5-kcoreaddons/Makefile
@@ -23,7 +23,7 @@ INOTIFY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_INOTIFY
# TODO: FAM is broken, and hangs on NFS
FAM_DESC= Filesystem alteration notifications using fam (broken: hangs on NFS)
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FAM
CMAKE_ARGS= -DACCOUNTS_SERVICE_ICON_DIR:PATH=/var/db/AccountsService/icons
diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile
index 84c059d046d4..63a62f18fc2c 100644
--- a/devel/py-fam/Makefile
+++ b/devel/py-fam/Makefile
@@ -13,7 +13,9 @@ WWW= https://python-fam.sourceforge.net/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python fam
+LIB_DEPENDS= libfam.so.0:devel/gamin
+
+USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.options.mk>
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index 1e41ddcfb362..dec1c9eeef37 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -14,6 +14,7 @@ BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base \
gpg2:security/gnupg \
wget:ftp/wget
LIB_DEPENDS= libcourier-unicode.so:devel/courier-unicode \
+ libfam.so.0:devel/gamin \
libgdbm.so:databases/gdbm \
libidn2.so:dns/libidn2 \
libpcre2-8.so:devel/pcre2
@@ -53,7 +54,7 @@ CALENDIR= /var/spool/calendar
MIMETYPES= ${LOCALBASE}/etc/mime.types
WITH_TRANSPORT= local esmtp dsn
-USES= fam gettext gmake libtool localbase perl5 pkgconfig shebangfix \
+USES= gettext gmake libtool localbase perl5 pkgconfig shebangfix \
ssl tar:bzip2
USE_RC_SUBR= courier
USE_SUBMAKE= yes
diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile
index 2285e219e0e7..d2f21c2771ab 100644
--- a/mail/gnubiff/Makefile
+++ b/mail/gnubiff/Makefile
@@ -8,11 +8,12 @@ MAINTAINER= tdb@FreeBSD.org
COMMENT= Mail notification program for Gnome
WWW= https://gnubiff.sourceforge.net/
-LIB_DEPENDS= libpopt.so:devel/popt
+LIB_DEPENDS= libfam.so.0:devel/gamin \
+ libpopt.so:devel/popt
OPTIONS_DEFINE= NLS
-USES= compiler:c++11-lang cpe fam gmake gnome pkgconfig
+USES= compiler:c++11-lang cpe gmake gnome pkgconfig
USE_GNOME= intlhack libglade2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 88774d14c777..f9bbfe3c7ebd 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -31,7 +31,7 @@ HTTPS_LOGIN_DESC= Generate https:// URLs only for login
MIMETYPES_DESC= search for a mime.types file
SENTRENAME_DESC= Periodic rename the Sent folder
CHARSET_DESC= charsets
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt"
diff --git a/net/samba416/Makefile b/net/samba416/Makefile
index a39c8296069b..371823aa9107 100644
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -376,7 +376,7 @@ CLUSTER_VARS= PLIST+=${PKGDIR}/pkg-plist.cluster
CUPS_CONFIGURE_ENABLE= cups iprint
CUPS_LIB_DEPENDS= libcups.so:print/cups
# https://bugzilla.samba.org/show_bug.cgi?id=9545
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_WITH= fam
GPGME_CONFIGURE_WITH= gpgme
diff --git a/net/samba419/Makefile b/net/samba419/Makefile
index a6d95f25f016..da7acb4b0756 100644
--- a/net/samba419/Makefile
+++ b/net/samba419/Makefile
@@ -361,7 +361,7 @@ CLUSTER_VARS= PLIST+=${PKGDIR}/pkg-plist.cluster
CUPS_CONFIGURE_ENABLE= cups iprint
CUPS_LIB_DEPENDS= libcups.so:print/cups
# https://bugzilla.samba.org/show_bug.cgi?id=9545
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_WITH= fam
GPGME_CONFIGURE_WITH= gpgme
diff --git a/net/samba420/Makefile b/net/samba420/Makefile
index 36db6c71fe15..7c7c69257e3d 100644
--- a/net/samba420/Makefile
+++ b/net/samba420/Makefile
@@ -362,7 +362,7 @@ CLUSTER_VARS= PLIST+=${PKGDIR}/pkg-plist.cluster
CUPS_CONFIGURE_ENABLE= cups iprint
CUPS_LIB_DEPENDS= libcups.so:print/cups
# https://bugzilla.samba.org/show_bug.cgi?id=9545
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_WITH= fam
GPGME_CONFIGURE_WITH= gpgme
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index c45dadb106fd..1370764f8550 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -286,7 +286,7 @@ DEVELOPER_VARS= _SHARED_MODULES+="auth_skel pdb_test gpext_security gpext_regi
DEVELOPER_VARS_OFF= _GDB_CMD=true
# https://bugzilla.samba.org/show_bug.cgi?id=9545
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_WITH= fam
FRUIT_PREVENTS= ZEROCONF_NONE
diff --git a/net/samba423/Makefile b/net/samba423/Makefile
index 369b53e9279b..d118d4f26de3 100644
--- a/net/samba423/Makefile
+++ b/net/samba423/Makefile
@@ -283,7 +283,7 @@ DEVELOPER_VARS= _SHARED_MODULES+="auth_skel pdb_test gpext_security gpext_regi
DEVELOPER_VARS_OFF= _GDB_CMD=true
# https://bugzilla.samba.org/show_bug.cgi?id=9545
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_WITH= fam
FRUIT_PREVENTS= ZEROCONF_NONE
diff --git a/sysutils/fileschanged/Makefile b/sysutils/fileschanged/Makefile
index fa2aae331d07..ee5979f27cc8 100644
--- a/sysutils/fileschanged/Makefile
+++ b/sysutils/fileschanged/Makefile
@@ -8,7 +8,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Utility that reports when files have been altered
WWW= https://fileschanged.sourceforge.net/
-LIB_DEPENDS= libargp.so:devel/argp-standalone
+LIB_DEPENDS= libargp.so:devel/argp-standalone \
+ libfam.so.0:devel/gamin
BUILD_DEPENDS= help2man:misc/help2man
LICENSE= GPLv2
@@ -16,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USES= fam gmake localbase
+USES= gmake localbase
CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc --disable-nls
LIBS+= -largp
diff --git a/sysutils/p5-Sys-Gamin/Makefile b/sysutils/p5-Sys-Gamin/Makefile
index 8f4ece5e3cef..27e06928c967 100644
--- a/sysutils/p5-Sys-Gamin/Makefile
+++ b/sysutils/p5-Sys-Gamin/Makefile
@@ -8,7 +8,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to Gamin (File Access Monitor implementation)
-USES= fam perl5
+LIB_DEPENDS= libfam.so.0:devel/gamin
+
+USES= perl5
USE_PERL5= configure
pre-configure:
diff --git a/x11-fm/gentoo/Makefile b/x11-fm/gentoo/Makefile
index cb9e5169644e..8e5debdf4758 100644
--- a/x11-fm/gentoo/Makefile
+++ b/x11-fm/gentoo/Makefile
@@ -18,7 +18,7 @@ CONFIGURE_ENV= MKDIR_P="${MKDIR}"
OPTIONS_DEFINE= FAM DOCS
-FAM_USES= fam
+FAM_LIB_DEPENDS= libfam.so.0:devel/gamin
FAM_CONFIGURE_ENABLE= fam
post-patch: