Subject: Re: CVS commit: pkgsrc/devel/ncurses
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Alistair Crooks <agc@pkgsrc.org>
List: pkgsrc-changes
Date: 01/31/2002 13:27:34
On Thu, Jan 31, 2002 at 01:08:32PM +0100, Matthias Drochner wrote:
> 
> jlam@jgrind.org said:
> > > Modified Files:
> > > 	pkgsrc/devel/ncurses: buildlink.mk
> > > 
> > > Log Message:
> > > add runtime search path to LDFLAGS
> > 
> > This change should be unnecessary as those flags are added
> > automatically by bsd.pkg.mk.  What problem were you trying to resolve
> > that prompted this change? 
> 
> I couldn't reconstruct which pkg it was exactly, but there was
> one which needed such a change to build.
> How is the addition os the rpath LDFLAG supposed to work? What
> I have seen in bsd.pkg.mk depends on a _USE_RPATH variable, where
> it is not obvious for me who is supposed to set it.

_USE_RPATH is set in the defs.${OPSYS}.mk files for each operating
system to which pkgsrc has been ported. It is necessary because
the Darwin compiler does not like the -Wl,-R assignations which other
operating systems use.

_USE_RPATH should not be modified by any package Makefile in any way.

Regards,
Alistair