From owner-cvs-all@FreeBSD.ORG Thu Jul 14 19:15:47 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F54916A41C; Thu, 14 Jul 2005 19:15:47 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA5643D55; Thu, 14 Jul 2005 19:15:45 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050714191537.CLCJ10527.lakermmtao12.cox.net@mezz.mezzweb.com>; Thu, 14 Jul 2005 15:15:37 -0400 To: "Mikhail Teterin" References: <200507132352.j6DNqtUS011697@repoman.freebsd.org> <20050714081345.GA20050@FreeBSD.org> <20050714150624.jzc6tsf36ok8kgck@netchild.homeip.net> <200507141330.03721.mi+mx@aldan.algebra.com> Message-ID: Date: Thu, 14 Jul 2005 14:17:07 -0500 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200507141330.03721.mi+mx@aldan.algebra.com> User-Agent: Opera M2/8.01 (Linux, build 1204) Cc: Alexey Dokuchaev , cvs-all@freebsd.org, ports-committers@freebsd.org, Pav Lucistnik , Alexander Leidinger , cvs-ports@freebsd.org Subject: Re: cvs commit: ports/graphics/djvulibre Makefile ports/textproc/wordnet Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 19:15:47 -0000 On Thu, 14 Jul 2005 12:30:03 -0500, Mikhail Teterin wrote: >> AFAIK it's up to the maintainer/creator of the port if he uses a >> particular >> version number or allows every version of a library. > > Yes, unfortunately... There is no _rational_ explanation to demand a > particular version of almost any library, but some people continue to > insist > on them _irrationally_. Which is why I only cleaned up the ports, that I > created and/or maintain, from the cruft introduced by such people. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN1934 BTW: portmgr, want to take care of this thread? End it now is better than later. Cheers, Mezz >> If the changed lib not only has a changed ABI but also a changed API in >> a >> way the port has to be patched, you can add the lib version at the time >> you >> change the port. At this time the port really depends upon a particular >> version, until then it doesn't. > > Thank you very much, Alexander. I really got tired of explaining this > patently > obvious thing to "fellow committers". > > Demanding a particular shlib version causes an untold number of unneeded > upgrades every day -- all for the sake of it being easier for some > maintainers to search for dependencies? Which -- as you point out -- it > is > not even, but even if it were... Consider an example: > > 1) Building and installing all ports of the KDE suite > 2) Updating the ports tree > 3) Trying to build, say, the AbiWord port > > If the shlib number of any one of the many libraries used by both KDE and > AbiWord got bumped between steps 1) and 2), the step 3) will fail, and > the > user will have to redo the entire step 1)... > > Portupgrade eases the procedure, but does not make it any less stupid. > > Moreover, for about 18 months now, one can use regular expressions in > LIB_DEPENDS. From bsd.ports.mk: > > # LIB_DEPENDS - A list of "lib:dir[:target]" tuples of other ports this > # package depends on. "lib" is the name of a shared library. > # make will use "ldconfig -r" to search for the library. > # lib can contain extended regular expressions. > > -mi -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org