Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 13:32:31 -0700 (PDT)
From:      Roger Marquis <marquis@roble.com>
To:        Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Broken _DEPENDS logic
In-Reply-To: <44a8xlqv8x.fsf@lowell-desk.lan>
References:  <20150503043317.73FD0DAD@hub.freebsd.org> <44a8xlqv8x.fsf@lowell-desk.lan>

| previous in thread | raw e-mail | index | archive | help
>> Found why mailman is trying (and failing) to reinstall postfix and it
>> appears to be a bug in other ports as well.
>>
>> Shouldn't these ports be querying the pkg db rather than checking for a
>> particular file, particularly when the file is incorrectly specified?
>
> Have you read the Porters' Handbook?

Not being a port maintainer, no.

> But, generally, the answer to your question is "no," becuase it is often
> the case that more than one port can serve as a dependency for another
> port. Your suggestion amounts to saying that only one port can satisfy a
> dependency for another port, which is not the case.

Not sure I understand the explanation but to clarify this specific case:
the mail/mailman port's dependency on mail/postfix fails because it look
for an installed file at a specific path without regards for the postfix
port's INST_BASE option.

Roger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>