Date: Fri, 17 Feb 2012 16:01:07 -0800 From: Doug Barton <dougb@FreeBSD.org> To: "Mikhail T." <mi+thun@aldan.algebra.com> Cc: freebsd-ports@freebsd.org, Jakub Lach <jakub_lach@mailplus.pl>, Zhihao Yuan <lichray@gmail.com> Subject: Re: Library numbers in LIB_DEPENDS considered harmful (Re: recent portrevision bump for libvpx) Message-ID: <4F3EEA43.3070808@FreeBSD.org> In-Reply-To: <4F3EE5A1.80407@aldan.algebra.com> References: <4F3E289D.9050605@FreeBSD.org> <4F3E2CED.90601@FreeBSD.org> <4F3E3537.9040105@FreeBSD.org> <1329478316415-5492205.post@n5.nabble.com> <4F3E5D41.9050503@aldan.algebra.com> <CAGsORuBjScOG3V1BykyELtqQhvzk-mKELoVrdUEfOk3Zh4X56w@mail.gmail.com> <4F3EBF4F.6010401@aldan.algebra.com> <CAGsORuDeENz7fWe7pg0=udfcSP-nxN_q8=0agD40gO9fwGCZPA@mail.gmail.com> <4F3EE5A1.80407@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3EEA43.3070808>