Subject: Re: wilder wildcards
To: None <email@example.com>
From: J Chapman Flack <firstname.lastname@example.org>
Date: 11/19/2005 17:18:00
> 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).
> > 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.