Subject: Re: wilder wildcards
To: J Chapman Flack <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 11/19/2005 23:33:52
On Sat, 19 Nov 2005, J Chapman Flack wrote:
>>> pkg_add -v 'php<5.tgz'
>>> installs php-5.0.5
>> does that happen with pkg_add 'php<5' (w/o .tgz) too?
> No, that's the weird part; pkg_add 'php<5' (w/o .tgz) adds php-4.4.1nb2
> (sorry if I forgot to say that in the original msg).
Ah... so the problem is not making sure you pass a working pkg pattern
(which does NOT include a .tgz).
>>> Is there a way I can write a DEPENDS+= line to do what I want (install
>>> php<5), considering bsd.pkg.mk likes to add the PKG_SUFX .tgz?
> Not so important at the moment; the main issue is pkg_add behaves
> differently depending on .tgz being present or absent. Secondary issue
> is bsd.pkg.mk defaults to adding .tgz when it invokes pkg_add through
> real-su-bin-install, causing a line like DEPENDS+= php<5:../../www/php4
> to install 5.0.5 instead, but that's only a consequence of the main issue.
Oh... that's definitely a bug then.
Too many people hacking on bsd.pkg*mk recently... :(