Subject: Re: x11 buildlink symlinks wrong when LOCALBASE is /usr
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 02/04/2004 21:26:56
--Signature=_Wed__4_Feb_2004_21_26_56_+0100_SrJSj_urZmG.s3xe
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 4 Feb 2004 12:21:38 -0800 (PST)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> This is NetBSD 1.6.2_RC3. My LOCALBASE is /usr.
> 
> Building graphics/glut fails with:
> 
> cc -c -I../../../include -O2
> -I/tmp/pkgsrc/graphics/glut/work.bigfour/.x11-buildlink/include
> glut_bitmap.c  -fPIC -DPIC -o .libs/glut_bitmap.o
> In file included from glut_bitmap.c:8:
> glutint.h:23: X11/Xlib.h: No such file or directory
> glutint.h:24: X11/Xutil.h: No such file or directory
> In file included from glutint.h:26,
>                  from glut_bitmap.c:8:
> ../../../include/GL/glx.h:38: X11/Xlib.h: No such file or directory
> ../../../include/GL/glx.h:39: X11/Xutil.h: No such file or directory

Looks like you have same problem I had some days ago, changing
${LN} -sf to ${LN} -f in x11-links Makefile, and rebuilding it should fix
this problem.

Johnny C. Lam told me that he knows the problem and it will be fixed soon.

Anyway, I will don't use symlinks for x11-links on my systems until it have
been fixed.

-- 
Juan RP <juan@xtraeme.unixbsd.org>


--Signature=_Wed__4_Feb_2004_21_26_56_+0100_SrJSj_urZmG.s3xe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAIVWTypkLYVDran0RAq8NAJ9LZn5G81sed2ex9i9QDp0IV/sEhACfWJHF
/E/bKfAecarOimE8Kwys5yY=
=+e7F
-----END PGP SIGNATURE-----

--Signature=_Wed__4_Feb_2004_21_26_56_+0100_SrJSj_urZmG.s3xe--