From owner-freebsd-stable@FreeBSD.ORG Wed Nov 16 05:05:17 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 0FAEA16A41F for ; Wed, 16 Nov 2005 05:05:17 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [65.75.192.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 723F443D46 for ; Wed, 16 Nov 2005 05:05:16 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.13.4/8.13.4) with ESMTP id jAG53YZ0093371 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 21:03:35 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.13.4/8.13.4/Submit) id jAG53Y1f093370; Tue, 15 Nov 2005 21:03:34 -0800 (PST) (envelope-from james) Date: Tue, 15 Nov 2005 21:03:34 -0800 From: James Long To: David Wolfskill Message-ID: <20051116050334.GA93276@ns.museum.rain.com> References: <20051116032616.GA92903@ns.museum.rain.com> <20051116033245.GT69015@bunrab.catwhisker.org> <20051116034910.GA93001@ns.museum.rain.com> <20051116035633.GU69015@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051116035633.GU69015@bunrab.catwhisker.org> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-101.4 required=5.0 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ns.museum.rain.com Cc: 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, 16 Nov 2005 05:05:17 -0000 On Tue, Nov 15, 2005 at 07:56:33PM -0800, David Wolfskill wrote: > On Tue, Nov 15, 2005 at 07:49:10PM -0800, James Long wrote: > > > > ===> xorg-clients-6.8.2_1 depends on package: xterm>0 - not found > > > > and investigated the Makefile to find why the odd package > > name of "xterm>0". > > Looks as if the thing to do would have been to run "pkgdb -F" and delete > that dependency. Again, at that time, xorg-clients was not installed, thus that dependency was not in the package database. Notice that the portupgrade output with that "xterm>0" line is a "portupgrade -N" invocation, to install a new port, not to upgrade an existing port. I always welcome and try to learn from corrections, but I can't see that pkgdb -F would be able to remove a dependency for a port that is not (yet) installed. That dependency is actually verbatim in the Makefile, I quote: RUN_DEPENDS= xterm>0:${PORTSDIR}/x11/xterm Hence my patch. Or if the above syntax is correct, perhaps someone can point me towards an explanation of the syntax found in that RUN_DEPENDS= line for my edification. Once I removed the ">0" from the Makefile, and since portupgrade had already built (but failed to install) xorg-clients, I was able to simply "make install" in the xorg-clients ports directory, and all the previously-built stuff got installed, along with xterm-206_1. I'm just asking someone (my original post cc'ed $MAINTAINER) to review the accuracy of that RUN_DEPENDS line. portupgrade certainly seems to parse the ">0" as part of the port name, rather than as some sort of conditional operator. Regards, Jim > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Prediction is difficult, especially if it involves the future. -- Niels Bohr > > See http://www.catwhisker.org/~david/publickey.gpg for public key.