LIB_DEPENDS not really required for build?
gerald at pfeifer.com
Sun Feb 4 11:32:48 UTC 2007
I always relied on LIB_DEPENDS applying both at install time as well as
build time, and strictly so, but apparently I was confused?
% cd $PORTSDIR/lang/gcc42 ; make
===> gcc-4.2.0_20070131 depends on shared library: gmp.7 - not found
===> Verifying install for gmp.7 in /home/gerald/ports//math/libgmp4
=> No directory for gmp.7. Skipping..
===> gcc-4.2.0_20070131 depends on shared library: mpfr.1 - not found
===> Verifying install for mpfr.1 in /home/gerald/ports//math/mpfr
=> No directory for mpfr.1. Skipping..
===> gcc-4.2.0_20070131 depends on shared library: iconv.3 - found
And on it went to build the port, only dying later, at install time,
wasting two hours. :-(
Ignoring dependencies like this looks very, very bogus to me.
IMnsHO the user explicitly should provide NO_DEPENDS to get this
behavior, which may lead to build failures, wrong package lists,
and run-time failures.
More information about the freebsd-ports