Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2026 00:14:43 +0000
Message-ID:  <69658e73.38f5a.422dba76@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c7bcb8dea42cc454aba54abad02d7ba2ffa59291

commit c7bcb8dea42cc454aba54abad02d7ba2ffa59291
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-01-11 18:02:54 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-01-13 00:12:09 +0000

    Mk/Uses/fam.mk: Remove helper
    
    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.
---
 Mk/Uses/fam.mk | 60 ----------------------------------------------------------
 1 file changed, 60 deletions(-)

diff --git a/Mk/Uses/fam.mk b/Mk/Uses/fam.mk
deleted file mode 100644
index cc4edd6f52ce..000000000000
--- a/Mk/Uses/fam.mk
+++ /dev/null
@@ -1,60 +0,0 @@
-# MAINTAINER: ports@FreeBSD.org
-#
-# Feature:	fam
-# Usage:	USES=fam or USES=fam:ARG
-# Valid ARG:	gamin, fam
-#
-# User-specified File Alteration Monitor wish:
-# Usage:	WITH_FAM_SYSTEM=ARG
-# Valid ARG:	gamin (default), fam
-#
-# Handle dependency on File Alteration Monitor
-
-.if !defined(_INCLUDE_USES_FAM_MK)
-_INCLUDE_USES_FAM_MK=	yes
-
-_fam_DEPENDS=	libfam.so.0:devel/fam
-_gamin_DEPENDS=	libfam.so.0:devel/gamin
-
-_FAM_SYSTEMS=	fam gamin
-_DEFAULT_FAM=	gamin
-
-.  if exists(${LOCALBASE}/libexec/gam_server)
-_HAVE_FAM=	gamin
-.  elif exists(${LOCALBASE}/bin/fam)
-_HAVE_FAM=	fam
-.  endif
-
-# Sanity checks
-.  if defined(WITH_FAM_SYSTEM) && defined(_HAVE_FAM) && ${_HAVE_FAM} != ${WITH_FAM_SYSTEM}
-IGNORE=	FAM mismatch: ${_HAVE_FAM} is installed, but ${WITH_FAM_SYSTEM} desired
-.  endif
-
-.  if !empty(fam_ARGS)
-.    for _fam_ARGS in ${fam_ARGS}
-.      if ! ${_FAM_SYSTEMS:M${_fam_ARGS}}
-IGNORE=	Incorrect 'USES+= fam:${fam_ARGS}' usage: argument [${_fam_ARGS}] is not recognized
-.      endif
-.    endfor
-.    if defined(_HAVE_FAM) && ${_HAVE_FAM} != ${fam_ARGS}
-IGNORE=	FAM mismatch: port wants to use ${fam_ARGS} while you have ${_HAVE_FAM}
-.    endif
-.    if defined(WITH_FAM_SYSTEM) && ${WITH_FAM_SYSTEM} != ${fam_ARGS}
-IGNORE=	FAM mismatch: port wants to use ${fam_ARGS} while you wish to use ${WITH_FAM_SYSTEM}
-.    endif
-.  endif
-
-# Proceed
-.  if !empty(fam_ARGS)
-_USE_FAM=	${fam_ARGS}
-.  elif defined(_HAVE_FAM)
-_USE_FAM=	${_HAVE_FAM}
-.  elif defined(WITH_FAM_SYSTEM)
-_USE_FAM=	${WITH_FAM_SYSTEM}
-.  else
-_USE_FAM=	${_DEFAULT_FAM}
-.  endif
-
-LIB_DEPENDS+=	${_${_USE_FAM}_DEPENDS}
-
-.endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69658e73.38f5a.422dba76>