From owner-freebsd-ports@FreeBSD.ORG Sat Feb 18 00:02:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 184171065674 for ; Sat, 18 Feb 2012 00:02:35 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 6026D1CF53; Sat, 18 Feb 2012 00:01:07 +0000 (UTC) Message-ID: <4F3EEA43.3070808@FreeBSD.org> Date: Fri, 17 Feb 2012 16:01:07 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120213 Thunderbird/10.0.1 MIME-Version: 1.0 To: "Mikhail T." References: <4F3E289D.9050605@FreeBSD.org> <4F3E2CED.90601@FreeBSD.org> <4F3E3537.9040105@FreeBSD.org> <1329478316415-5492205.post@n5.nabble.com> <4F3E5D41.9050503@aldan.algebra.com> <4F3EBF4F.6010401@aldan.algebra.com> <4F3EE5A1.80407@aldan.algebra.com> In-Reply-To: <4F3EE5A1.80407@aldan.algebra.com> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, Jakub Lach , Zhihao Yuan Subject: Re: Library numbers in LIB_DEPENDS considered harmful (Re: recent portrevision bump for libvpx) 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: Sat, 18 Feb 2012 00:02:35 -0000 On 02/17/2012 15:41, Mikhail T. wrote: > If, in fact, the current port does not care, which version of libfoo is > uses -- and most software does not -- then declaring an explicit V is > wrong: it /gratuitously/ tightens the build-time requirements. Unless a > particular version is, indeed, required, the above line should read simply: > > LIB_DEPENDS= foo:${PORTSDIR}/cat/libfoo Big +1. Same goes for how some of the build/run deps are specified. This has definitely become a case of "If you give someone a knob, it's overwhelmingly likely that they will twist it." Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/