LIB_DEPENDS not really required for build?
Andrew Pantyukhin
infofarmer at FreeBSD.org
Sun Feb 4 11:59:03 UTC 2007
On 2/4/07, Gerald Pfeifer <gerald at pfeifer.com> wrote:
> 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.
>
> Thoughts?
You should take another look at the excerpt you
posted. Looks like portsdir has been redefined.
More information about the freebsd-ports
mailing list