From owner-freebsd-ports@FreeBSD.ORG Sat Mar 29 09:20:11 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A76A837B407 for ; Sat, 29 Mar 2003 09:20:11 -0800 (PST) Received: from falcon.midgard.homeip.net (h76n3fls20o913.telia.com [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id C654443FA3 for ; Sat, 29 Mar 2003 09:20:08 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 40440 invoked by uid 1001); 29 Mar 2003 17:20:06 -0000 Date: Sat, 29 Mar 2003 18:20:06 +0100 From: Erik Trulsson To: Matthew Donadio Message-ID: <20030329172005.GA40395@falcon.midgard.homeip.net> Mail-Followup-To: Matthew Donadio , freebsd-ports@freebsd.org, murray@freebsd.org References: <3E85D20A.4DE1E327@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E85D20A.4DE1E327@ieee.org> User-Agent: Mutt/1.5.3i cc: freebsd-ports@freebsd.org Subject: Re: nasm and/or pkg utils weirdness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 17:20:14 -0000 On Sat, Mar 29, 2003 at 12:04:10PM -0500, Matthew Donadio wrote: > Hi all, > > I did a cvsup of the ports tree the other day, and an diff to nasm was > included. > > /usr/ports/devel/nasm/Makefile has a version number of 0.98.35 in it > > My installed version according to pkg_info is 0.98.33,1 > > pkg_version is saying that my installed version has a higher version > number that the one in my local ports tree. In other words, I am > getting a > next to nasm with a plain pkg_version. > > Am I correct to assume that this is a bug in the way the pkg utils > compute version number differences? No, you are not correct in that assumption. The pkg utils compute version number differences just fine. The problem is that the person who updated the nasm port to 0.98.35 mistakenly removed PORTEPOCH from the port's makefile. Add the line PORTEPOCH=1 to /usr/ports/devel/nasm/Makefile and things should behave correctly. -- Erik Trulsson ertr1013@student.uu.se