From owner-freebsd-doc Thu Oct 17 10:46:38 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A4CB37B404 for ; Thu, 17 Oct 2002 10:46:37 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id A048343E42 for ; Thu, 17 Oct 2002 10:46:36 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021017174636.NKKM28253.sccrmhc01.attbi.com@localhost.localdomain>; Thu, 17 Oct 2002 17:46:36 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id g9HHnCUW073599; Thu, 17 Oct 2002 10:49:13 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id g9HHmaYY073590; Thu, 17 Oct 2002 10:48:36 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Peter Pentchev Cc: "Gary W. Swearingen" , freebsd-doc@freebsd.org Subject: Re: Curious doc/en*/Makefile Checkout/Delete cycling by cvsup References: <4zlm4z74c7.m4z@localhost.localdomain> <20021016070026.GU372@straylight.oblivion.bg> <20021017060518.GB371@straylight.oblivion.bg> From: swear@attbi.com (Gary W. Swearingen) Date: 17 Oct 2002 10:48:36 -0700 In-Reply-To: <20021017060518.GB371@straylight.oblivion.bg> Message-ID: Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Peter Pentchev writes: > If there is any bug at all, it would have to be a minor portupgrade bug, > insofar as portupgrade does the same thing as the Ports Collection's > bsd.port.mk when checking dependencies. [snip] Sounds like portupgrade is working OK. Like you indicate later, the fix lies elsewhere. > Yes, this is a bit unfortunate, but that's the way it works; the only > way it could be "fixed" would be to make the www/links1 port install a > bin/links1 file, either as a symlink, or as the "real" links file. It seems to me that the problem here is that docproj doesn't like the current version of a port and forces one to mess up the current version. You fix seems to just mess it up differently. If docproj can't use the current version it ought to kluge up an alternate version with different names so it doesn't break the current version. The docproj scripts would, of course, have to use the alternate names (or alternate PATH). > A symlink would be preferable, because then the "real" browser would > still be invoked as 'links', and no doc/ Makefile's would need to be > changed. Then, the docproj port could be made to check for > ${PREFIX}/bin/links1, so www/links would not satisfy the dependency. So when one tries to run the current-version "links", one gets the alternate one? That's nasty. > This might still create conflicts on a "blind" portupgrade run, because > then the newly-installed links1 port would overwrite the links-2.0 > bin/links executable.. guess there is no real clean way to handle this The links1 port already has that nasty feature. And it leaves the current version in the package database as if it were still valid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message