Subject: Re: oroborus
To: Jason R. Fink <jrf@cyberspace.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-x11
Date: 05/30/2001 16:33:32
On Wed, 30 May 2001, Jason R. Fink wrote:
> > for the -Wl,-R part, you have to pass that to gcc/cc in the Makefile that
> > comes with the distfile, probably by patching a Makefile.in or so.
> 
> no and i think that may be part of the problem. within the Makefile
> I was able to add -R${XROOT} (which the author has set to /usr/X11R6).
>
> I wonder if setting up a configure script for it (in the distribution)
> might not be wiser. Then (hopefull) the configure script will know
> where to find the proper libs.

Please use our (pkgsrc) variable, which is X11BASE. 

It's probably best to add a patch to it's being used properly. 
Oh, and I think the proper switch is -Wl,-R if gcc/cc is used, -R is only
good when ld is called directly. Dunno how portable that is, though.


> This might also be a case where working directly with the author(s)
> might be better. 

Yup!


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>