From owner-freebsd-ports Sat Jan 19 8:21:19 2002 Delivered-To: freebsd-ports@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id E340F37B402; Sat, 19 Jan 2002 08:21:11 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.6/8.11.5) with ESMTP id g0JGIlQ86731; Sat, 19 Jan 2002 11:18:48 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200201191618.g0JGIlQ86731@aldan.algebra.com> Date: Sat, 19 Jan 2002 11:18:44 -0500 (EST) From: Mikhail Teterin Subject: depending on the shared libraries (was Re: cvs commit: ports/graphics/libxine Makefile) To: naddy@FreeBSD.org Cc: ports@FreeBSD.org In-Reply-To: <200201161737.g0GHb2j84200@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII 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 > Log: > Bump Ogg Vorbis library versions. I keep wondering, and keep asking this question, but noone feels like answering. Most of the ports don't care for the exact version number of the library they depend on. Be that jpeg.7 or jpeg.8, foo.N or foo.N+1 or foo.N-1. However, the committers seem to religiously maintain the numbers and every time a library-installing port (like vorbis) is updated, the update is followed by a flurry of the commits updating the dependent ports. What's wrong with the following depends line: -LIB_DEPENDS+= vorbis.1:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis ? (I don't mean to single libxine and vorbis out, it is just the latest example). Granted, sometimes a particular feature of a library is important and requiring the exact version number makes sense, but that's so rarely the case -- libxine worked fine with vorbis.0 and will continue working with .1 and probably .2... As a result, any time I go to rebuild, say, ImageMagick, I notice it attempts to rebuild png, even though IM works just fine with the version of png I already have... Note, the porter's handbook does not require the version number -- it is just the only example given :-) http://FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/x599.html#AEN602 -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message