From owner-freebsd-ports@FreeBSD.ORG Wed Apr 11 06:16:17 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B5F1065670 for ; Wed, 11 Apr 2012 06:16:17 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail06.adl2.internode.on.net (unknown [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 24E188FC0A for ; Wed, 11 Apr 2012 06:16:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAJAghU+WZWdv/2dsb2JhbABCgym3LIIJAQEEAXkFCwsOCi5XBhOICQS3PJE/BIhYkwaKRIJ3 Received: from ppp103-111.static.internode.on.net (HELO lillith-iv.ovirt.dyndns.ws) ([150.101.103.111]) by ipmail06.adl2.internode.on.net with ESMTP; 11 Apr 2012 15:46:14 +0930 X-Envelope-From: ws@au.dyndns.ws X-Envelope-To: freebsd-ports@freebsd.org Received: from [172.17.17.134] (ws@[172.17.17.134]) by lillith-iv.ovirt.dyndns.ws (8.14.4/8.14.4) with ESMTP id q3B6G2A5077440; Wed, 11 Apr 2012 15:46:03 +0930 (CST) (envelope-from ws@au.dyndns.ws) From: Wayne Sierke To: Greg Byshenk In-Reply-To: <20120410204737.GA1737@portland1.byshenk.net> References: <20120410195541.GA62066@mech-cluster241.men.bris.ac.uk> <20120410204737.GA1737@portland1.byshenk.net> Content-Type: text/plain; charset="ASCII" Date: Wed, 11 Apr 2012 15:46:01 +0930 Message-ID: <1334124961.1385.7.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 172.17.17.142 X-Scanned-By: SpamAssassin 3.003002(2011-06-06) X-Scanned-By: ClamAV X-Spam-Score: -2.9 () ALL_TRUSTED,BAYES_00 Cc: Anton Shterenlikht , freebsd-ports@freebsd.org Subject: Re: pkg version -Xs foo shows all ports, not just foo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 06:16:17 -0000 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 = %