Subject: Re: libtool path during install
To: None <tech-pkg@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 07/25/2006 10:37:18
On 7/25/06, Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
> > When installing a package, pkgsrc sets LIBTOOL to "libtool" instead
> > of its full path, even though 'make show-var VARNAME=LIBTOOL' shows
> > the full path.  Because of this, "make install" fails if the root
> > user does not have "libtool" available in its path (For example,
> > graphics/MesaLib calls ${LIBTOOL} to install libraries at pre-install).
> >
> > Is this intentional?  If so, why?
>
> Shouldn't the PATH include the wrapper directory which provides the
> libtool wrapper as well?

Indeed, it's supposed to.  Not just that, but pkgsrc is supposed to
set PATH to include ${LOCALBASE}/bin as well (see usage of
PREPEND_PATH in bsd.prefs.mk).  minskim, is there actually a problem
or is this just an observation?

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>