Subject: Re: libtool-base-1.4.20010614nb9/+REQUIRED_BY
To: Andrew Brown <atatat@atatdot.net>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 11/21/2002 18:59:31
On Thu, Nov 21, 2002 at 06:11:16PM -0500, Andrew Brown wrote:
> as i go to upgrade some pkgs, i see (on one machine) that libtool-base
> is required by dict-client. on another, libtool-base is required by
> guile.
>
> this seems strange. there did not used to be anything that explicitly
> required libtool-base in this manner. perhaps the buildlink2 file for
> libtool is a little wrong?
Packages should only use libtool/buildlink2.mk if they need to link
against the libltdl shared library in ${LOCALBASE}. Otherwise, just
setting USE_LIBTOOL in the package (to get a build dependency on libtool)
is enough.
Cheers,
-- Johnny Lam <jlam@netbsd.org>