From owner-freebsd-ports@FreeBSD.ORG Wed Aug 3 19:37:02 2005 Return-Path: X-Original-To: ports@freebsd.org 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 DB10B16A41F; Wed, 3 Aug 2005 19:37:02 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914343D46; Wed, 3 Aug 2005 19:37:02 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050803193701.ZNA23463.lakermmtao08.cox.net@mezz.mezzweb.com>; Wed, 3 Aug 2005 15:37:01 -0400 Date: Wed, 03 Aug 2005 14:38:07 -0500 To: "Mikhail Teterin" References: <200508030501.j7351CWK009605@corbulon.video-collage.com> <200508031412.01404.Mikhail.Teterin@murex.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <200508031412.01404.Mikhail.Teterin@murex.com> User-Agent: Opera M2/8.02 (Linux, build 1272) Cc: gnome@freebsd.org, ports@freebsd.org Subject: Re: leaner and meaner www/firefox X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 19:37:03 -0000 On Wed, 03 Aug 2005 13:12:01 -0500, Mikhail Teterin wrote: >> package (pkg_add), wouldn't you get error when run apps for can't find >> to   >> link foobar.so.5 when you have foobar.so.4? I don't use package, but   >> wouldn't package (without library version in Makefile) failed to check >> for >> need foobar.so.5 and go ahead install it because there was no library >> version info? With the library version would check and give the error >> earlier. > > No... See bsd.port.mk's cvs log: > > revision 1.424 > date: 2002/09/19 00:16:39; author: kris; state: Exp; lines: +72 -39 > [...] > * [1] Registering real dependencies: dependency registration looks at the > currently-installed version of the dependency and registers that > version, > instead of registering the version in ports which may be newer than > what is installed. > [...] > > (I recall pushing for this and submitting my own version of this change, > but > sobomax was part of portmgr and I was not...) Either above still doesn't explain clear or I don't understand it clear. Register version of what? PORTVERSION or library? If it's library, then how does it check if Makefile doesn't has any of library version? It said, 'dependency registration looks at the currently-installed version of the dependency and registers that version'. What about that currently-installed (without have library version in Makefile) has foobar.so.4 but that new package (without have library version in Makefile) registered on currently-installed, but it still needs foobar.so.5? > Try it and let's get this one over with... > > -mi -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org