From owner-freebsd-stable@FreeBSD.ORG Wed Nov 23 07:28:58 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC7916A41F for ; Wed, 23 Nov 2005 07:28:58 +0000 (GMT) (envelope-from krion@voodoo.bawue.com) Received: from voodoo.bawue.com (voodoo.bawue.com [212.9.161.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DDF343D58 for ; Wed, 23 Nov 2005 07:28:58 +0000 (GMT) (envelope-from krion@voodoo.bawue.com) Received: from krion by voodoo.bawue.com with local (Exim 4.54 (FreeBSD)) id 1Eep3r-000Erh-SS; Wed, 23 Nov 2005 08:28:59 +0100 Date: Wed, 23 Nov 2005 08:28:59 +0100 From: Kirill Ponomarew To: Mark Andrews Message-ID: <20051123072859.GD56811@voodoo.bawue.com> References: <200511230136.jAN1aAbW022827@drugs.dv.isc.org> <200511230147.jAN1lDgk048158@drugs.dv.isc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511230147.jAN1lDgk048158@drugs.dv.isc.org> X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Cc: Dejan Lesjak , freebsd-stable@freebsd.org Subject: Re: xorg-clients conflicts with xterm (patch) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 07:28:58 -0000 On Wed, Nov 23, 2005 at 12:47:13PM +1100, Mark Andrews wrote: > > > > > > $ sh > > > $ PACKAGES=/home/packages > > > $ export PACKAGES > > > $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2 > > > pkg_info: can't find package 'xorg-clients-6.8.2' installed or in a file! > > > $ PKG_PATH=/home/packages/All > > > $ export PKG_PATH > > > $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2 > > > xorg-clients-6.8.2 X client programs and related files from X.Org > > > $ > > > > We need to clean PKG_PATH from the envirionment when looking > > for conflicts. > > > > e.g. > > > > found=`${SETENV} PKG_PATH= ${PKG_INFO} -I ${CONFLICTS:C/.+/'&'/} 2>/dev/ > > null | ${AWK} '{print $$1}'`; > > > > Mark > > While we are fixing things the man page for pkg_info needs to be updated. > PKG_PATH is not mentioned. It's hard to debug problems without the required > information. That's true. I'll update pkg_info(1) soon. -Kirill