Date: Tue, 17 May 2005 17:49:27 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/81168: [PATCH] Add flexible FAM support to bsd.port.mk Message-ID: <428A66E7.3070907@FreeBSD.org> In-Reply-To: <200505171820.j4HIK58a031140@freefall.freebsd.org> References: <200505171820.j4HIK58a031140@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------090201040409020501070604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here is a new version of the bsd.port.mk patch that simplifies the dependency (along the lines of the OpenLDAP dependencies). Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCimbnb2iPiv4Uz4cRAsdlAKCiLgkX25aQztJbHK+LcfbjoPriNACfdHyC 9v6Op0MBiufPzNnrFVs7gdc= =XumH -----END PGP SIGNATURE----- --------------090201040409020501070604 Content-Type: text/x-patch; x-mac-type="0"; x-mac-creator="0"; name="bsd.port.mk.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bsd.port.mk.diff" --- bsd.port.mk.orig Tue May 17 14:09:55 2005 +++ bsd.port.mk Tue May 17 17:46:13 2005 @@ -309,6 +309,12 @@ # - 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: fam (default), gamin +# If set to an unknown value, the port is marked BROKEN. +## # USE_AUTOTOOLS - If set, this port uses various GNU autotools # (libtool, autoconf, autoheader, automake et al.) # See bsd.autotools.mk for more details. @@ -1347,6 +1353,8 @@ WANT_OPENLDAP_VER?= 22 +WANT_FAM_SYSTEM?= fam + # Owner and group of the WWW user WWWOWN?= www WWWGRP?= www @@ -1459,6 +1467,16 @@ LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21${_OPENLDAP_FLAVOUR}-client .else BROKEN= "unknown OpenLDAP version: ${WANT_OPENLDAP_VER}" +.endif +.endif + +.if defined(USE_FAM) +.if ${WANT_FAM_SYSTEM} == fam +LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam +.elif ${WANT_FAM_SYSTEM} == gamin +LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/gamin +.else +BROKEN= "unknown FAM system: ${WANT_FAM_SYSTEM}" .endif .endif --------------090201040409020501070604--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428A66E7.3070907>