Subject: Re: CVS commit: pkgsrc/devel/ncurses
To: Johnny Lam <email@example.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 01/31/2002 13:08:32
> > 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.
There are other pkg buildlink files which would need a similar
change: I've just tried to build something using Qt, ie it
includes qt2-libs/buildlink.mk. The rpath to the X11 libs
doesn't get set automatically, so the compiled programs fail
if the X11 dependency is not added explicitely.