The 'cat/foo-*' doesn't work in the pkgtools.conf?

Jeremy Messenger mezz7 at cox.net
Thu Dec 4 10:42:06 PST 2003


On Thu, 4 Dec 2003 10:50:19 +0100, Stijn Hoop <stijn at win.tue.nl> wrote:

> On Wed, Dec 03, 2003 at 11:12:00PM -0600, Jeremy Messenger wrote:
>> I learned from the example in the pkgtools.conf, so what I am doing with
>> mplayer that will not work..
>
>>     'multimedia/mplayer-*' => [
>
>> It will work if I remove the '-*' like this:
>
>>     'multimedia/mplayer' => [
>
>> I tested it by pkg_delete SDL and it doesn't install SDL if it's with
>> '-*', so remove the '-*' the SDL is installed. To me, it looks like 
>> it's a
>> bug in portupgrade?
>
> Isn't it just a regular expression? In which case
>
> 'multimedia/mplayer-*' =>
>
> would only match
>
> multimedia/mplayer-fonts
> multimedia/mplayer-skins
>
> and not
>
> multimedia/mplayer
> multimedia/mplayerxp
>
> Try using
>
> 'multimedia/mplayer*' =>
>
> to set options for all mplayer ports.

Ahh, you are right.. I was expected it would work with like this:

$ pkg_info | grep mplayer
mplayer-gtk-esound-0.92.0_3

I didn't think of it would only check on ports directory instead. :-) 
Thanks!

Cheers,
Mezz

> HTH,
>
> --Stijn


-- 
bsdforums.org 's moderator, mezz.


More information about the freebsd-ports mailing list