Library numbers in LIB_DEPENDS considered harmful (Re: recent
portrevision bump for libvpx)
Doug Barton
dougb at FreeBSD.org
Sat Feb 18 00:02:35 UTC 2012
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/
More information about the freebsd-ports
mailing list