Subject: Re: pkg/20448
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 03/08/2003 11:58:07
grant beattie <grant@netbsd.org> wrote:
> On Fri, Mar 07, 2003 at 10:09:42AM -0500, Jan Schaumann wrote:
>
> > Yes, here are still some occasional "-Wl,-R/path" flags in some of the
> > packages, either set explicitly by the packages Makefile or by some
> > bsd.pkg.mk logic. Irix MIPSpro compiler uses "-Wl,-rpath,/path", which
> > is why we have an internal _OPSYS_RPATH_NAME variable.
> >
> > We should determine an appropriate variable to pass to the MAKE_ENV so
> > that we can easily patch a packages Makefile to use whatever is needed
> > rather than hardcoding "-R" in.
>
> We need this for OSF1, too.
>
> `LD_RPATH_FLAGS' ?
The silly thing is that we would then set
LD_RPATH_FLAGS=${_OPSYS_RPATH_NAME}
The _OPSYS_RPATH_NAME variable, as indicated by the leading '_', is
internal and should not be seen/changed outside, but in the end we just
use exactly that variable. Can't we simply rename it?
-Jan
--
Wenn ich tot bin, mir soll mal Einer mit Auferstehung oder so
kommen, ich hau ihm eine rein! (Anonym)