From owner-freebsd-ports Mon Dec 10 18:30:44 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id C518037B405; Mon, 10 Dec 2001 18:30:29 -0800 (PST) Received: from bsd.havk.org (user-24-214-88-13.knology.net [24.214.88.13]) by mail.hiwaay.net (8.12.1/8.12.1) with ESMTP id fBB2UPhM014054; Mon, 10 Dec 2001 20:30:26 -0600 (CST) Received: by bsd.havk.org (Postfix, from userid 1001) id 03F981A787; Mon, 10 Dec 2001 20:30:25 -0600 (CST) Date: Mon, 10 Dec 2001 20:30:24 -0600 From: Steve Price To: "David O'Brien" Cc: Maxim Sobolev , marcus@marcuscom.com, freebsd-ports@FreeBSD.ORG Subject: Re: bison port Message-ID: <20011210203024.P46667@bsd.havk.org> References: <20011210141716.A36250@dragon.nuxi.com> <200112110134.DAA23251@ipcard.iptcom.net> <20011210175355.A2398@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011210175355.A2398@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Dec 10, 2001 at 05:53:55PM -0800 X-Operating-System: FreeBSD 4.4-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Dec 10, 2001 at 05:53:55PM -0800, David O'Brien wrote: > > Then I'm backing out the downgrade and we will just live with 1.30. This > PORTEPOCH for life situation is stupid. > > Why can't it be removed? 1.31,0 is greater than 1.28,* Because it tests the epoch first, the version next, and then the revision. From pkg_version.pl: # Check epoch, port version, and port revision, in that # order. $rc = &CompareNumbers($e1, $e2); if ($rc == 0) { $rc = &CompareNumbers($v1, $v2); if ($rc == 0) { $rc = &CompareNumbers($r1, $r2); } } Even if you bring the port back up to 1.30 and remove PORTEPOCH the people that have 1.28,1 will never see a newer version because 0 is always less than 1. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message