Subject: Re: dependence on logical service vs. package name (was Re: RFC:
To: Martin J. Laubach <>
From: Rene Hexel <>
List: tech-pkg
Date: 09/07/2002 07:05:21
On Fri, 2002-09-06 at 22:17, Martin J. Laubach wrote:

>   This does not sound all that difficult.

  In fact, we could probably do this already with the existing
framework.  Just create a service-MTA meta-package that has

DEFAULT_MTA?=	mail/sendmail
DEPENDS+=	{sendmail,exim,postfix,etc}-[0-9]*:../../${DEFAULT_MTA}

  This way, the default MTA can be specified in /etc/mk.conf (or on the
command line) to automatically build the preferred MTA whenever
service-MTA is built.

  Packages that need an MTA simply depend on the service-MTA meta
package instead of a specific MTA (or a set thereof).