Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2012 15:46:01 +0930
From:      Wayne Sierke <ws@au.dyndns.ws>
To:        Greg Byshenk <freebsd@byshenk.net>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ports@freebsd.org
Subject:   Re: pkg version -Xs foo shows all ports, not just foo
Message-ID:  <1334124961.1385.7.camel@predator-ii.buffyverse>
In-Reply-To: <20120410204737.GA1737@portland1.byshenk.net>
References:  <20120410195541.GA62066@mech-cluster241.men.bris.ac.uk> <20120410204737.GA1737@portland1.byshenk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2012-04-10 at 13:47 -0700, Greg Byshenk wrote:
> On Tue, Apr 10, 2012 at 08:55:41PM +0100, Anton Shterenlikht wrote:
> > BUZI> pkg version -Xs Image
> > CalculiX-2.4                       =
> > GraphicsMagick-1.1.15_3,1          =
> > ImageMagick-6.7.5.10               =
> > ORBit2-2.14.19                     =
> > OpenEXR-1.6.1_3                    =
> > R-2.14.2                           =
> > ^C
> > BUZI> 
> > 
> > The man page seems to indicate that the
> > above options should only show ImageMagick.
> > 
> > What am I doing wrong?

Is it a transcription error or are you really using a command named
"pkg" rather than pkg_version(1)?

> I'm not sure if it's a bug or a feature, but pkg_version seems to 
> want the arguments separately.
> 
> 	$ pkg_version -X -s Image
> 	ImageMagick                         =
> 	$ 

Works ok here:

$ uname -v ; pkg_version -Xs "lib[Xx]c"
FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
libXcomposite                       =
libXcursor                          =
libxcb                              =
$ 
%uname -v ; pkg_version -Xs "lib[Xx]c"
FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
libXcomposite                       =
libXcursor                          =
libxcb                              =
%pkg_version -Xs Image
ImageMagick                         =
%






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