summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-05 13:33:37 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-05 13:33:37 +0000
commit3e57d15fbe56ff277e53ba32ded7b1aeb06f4e72 (patch)
tree39e17e5e7141af4a530923c2cc2590e3c23727e1 /Mk
parent- stage support (diff)
- Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=338770
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk46
-rw-r--r--Mk/bsd.sanity.mk4
2 files changed, 4 insertions, 46 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 5e993755723e..6393ce4c501f 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -385,12 +385,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - If set, the system should use OpenLDAP libraries
# with SASL support.
##
-# USE_FAM - If set, this port uses the File Alteration Monitor.
-#
-# WANT_FAM_SYSTEM
-# - Legal values are: gamin (default),fam
-# If set to an unknown value, the port is marked IGNORE.
-##
# USE_AUTOTOOLS - If set, this port uses various GNU autotools
# (libtool, autoconf, autoheader, automake et al.)
# See bsd.autotools.mk for more details.
@@ -1738,46 +1732,6 @@ MAKE_ENV+= ${b}="${${b}}"
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
.endif
-.if defined(USE_FAM)
-DEFAULT_FAM_SYSTEM= gamin
-# Currently supported FAM systems
-FAM_SYSTEM_FAM= fam.0:${PORTSDIR}/devel/fam
-FAM_SYSTEM_GAMIN= fam.0:${PORTSDIR}/devel/gamin
-
-.if exists(${LOCALBASE}/libexec/gam_server)
-_HAVE_FAM_SYSTEM= gamin
-.elif exists(${LOCALBASE}/bin/fam)
-_HAVE_FAM_SYSTEM= fam
-.endif
-
-.if defined(WANT_FAM_SYSTEM)
-.if defined(WITH_FAM_SYSTEM) && ${WITH_FAM_SYSTEM}!=${WANT_FAM_SYSTEM}
-IGNORE= wants to use ${WANT_FAM_SYSTEM} as its FAM system, while you wish to use ${WITH_FAM_SYSTEM}
-.endif
-FAM_SYSTEM= ${WANT_FAM_SYSTEM}
-.elif defined(WITH_FAM_SYSTEM)
-FAM_SYSTEM= ${WITH_FAM_SYSTEM}
-.else
-.if defined(_HAVE_FAM_SYSTEM)
-FAM_SYSTEM= ${_HAVE_FAM_SYSTEM}
-.else
-FAM_SYSTEM= ${DEFAULT_FAM_SYSTEM}
-.endif
-.endif # WANT_FAM_SYSTEM
-
-.if defined(_HAVE_FAM_SYSTEM)
-.if ${_HAVE_FAM_SYSTEM}!= ${FAM_SYSTEM}
-BROKEN= FAM system mismatch: ${_HAVE_FAM_SYSTEM} is installed, while desired FAM system is ${FAM_SYSTEM}
-.endif
-.endif
-
-.if defined(FAM_SYSTEM_${FAM_SYSTEM:U})
-LIB_DEPENDS+= ${FAM_SYSTEM_${FAM_SYSTEM:U}}
-.else
-IGNORE= cannot be built with unknown FAM system: ${FAM_SYSTEM}
-.endif
-.endif # USE_FAM
-
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
SUB_FILES+= ${USE_RC_SUBR}
.endif
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index a72f4189de7d..0d4303f4dc82 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -157,3 +157,7 @@ DEV_WARNING+= "PYDISTUTILS_PKGNAME has no effect for USE_PYDISTUTILS=yes and PYD
.if defined(USE_OPENAL)
DEV_ERROR+= "USE_OPENAL is unsupported, please use USES=openal"
.endif
+
+.if defined(USE_FAM)
+DEV_ERROR+= "USE_FAM is unsupported, please use USES=fam"
+.endif