From owner-freebsd-questions@FreeBSD.ORG Sat Feb 24 20:54:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BB2216A403 for ; Sat, 24 Feb 2007 20:54:05 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 17A9B13C461 for ; Sat, 24 Feb 2007 20:54:03 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id A1CC451942 for ; Sat, 24 Feb 2007 15:54:01 -0500 (EST) Date: Sat, 24 Feb 2007 20:53:57 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070224205357.682db3dc@gumby.homeunix.com> In-Reply-To: <45E08BC0.4040203@infracaninophile.co.uk> References: <20070224101153.6b66fdc1@localhost> <45E08BC0.4040203@infracaninophile.co.uk> X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Forcing correct version of Clamav to be installed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 20:54:05 -0000 On Sat, 24 Feb 2007 19:02:24 +0000 Matthew Seaman wrote: > In most of the common cases where alternative dependencies are > available in the ports, there will be a mechanism available for > choosing amongst various different ones coded into the port Makefile. I think that one thing that the ports system lacks is a simple origin substitution variable in make.conf that you can use when all else fails, e.g. SUBSTITUTE_ORIGINS+= devel/pcre|devel/pcre-utf8 to make things that depend on devel/pcre depend on devel/pcre-utf8 instead. It's not automatic, but it is simple and transparent.