diff options
author | antoine <antoine@FreeBSD.org> | 2014-01-05 21:33:37 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-01-05 21:33:37 +0800 |
commit | e90799c38d7fb4e63c5ca0d33e7854b99aaa00f2 (patch) | |
tree | 39e17e5e7141af4a530923c2cc2590e3c23727e1 /Mk | |
parent | dedcf5cbb9778e8fbef28cd718c35b6c10e5ed7e (diff) | |
download | freebsd-ports-gnome-e90799c38d7fb4e63c5ca0d33e7854b99aaa00f2.tar.gz freebsd-ports-gnome-e90799c38d7fb4e63c5ca0d33e7854b99aaa00f2.tar.zst freebsd-ports-gnome-e90799c38d7fb4e63c5ca0d33e7854b99aaa00f2.zip |
- Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set
Approved by: portmgr (bapt)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 46 | ||||
-rw-r--r-- | Mk/bsd.sanity.mk | 4 |
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 |