Subject: x11-links -- X11/Xarch.h: No such file
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/26/2002 16:07:43
Trying to build wm/bbkeys (Makefile,v 1.7) under NetBSD/i386 1.6 with
XFree86 4.2.0 and I received:

c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/pkg/include
-I/usr/X11R6/include    -DINTERLACE
-DGLOBAL_BB=\"/usr/X11R6/share/bbtools/bbkeys.bb\"
-DGLOBAL_NOBB=\"/usr/X11R6/share/bbtools/bbkeys.nobb\"  -I/usr/pkg/include
-I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2
-I/usr/X11R6/include -c bbkeys.cc
In file included from Basewindow.hh:52,
                 from bbkeys.hh:32,
                 from bbkeys.cc:71:
/usr/pkg/share/x11-links/include/X11/Xos.h:284: X11/Xarch.h: No such file
or directory

I do have:
-r--r--r--  1 root  wheel  3511 Sep  8 05:57 /usr/X11R6/include/X11/Xarch.h

But it is not under /usr/pkg/share/x11-links/include/X11/.

I have x11.buildlink.mk,v 1.20 and  bsd.pkg.mk,v 1.1058.

Note that this system was running 1.5.3 and old XFree86 3.3.x when all
these /usr/pkg/share/x11-links/include/X11 symlinks were made.

I see that my x11-links-0.8 package (with pkg_info -L) doesn't contain
that X11/Xarch.h file.

So I made that symlink manually myself.

lrwxr-xr-x  1 root  wheel  30 Sep 26 16:03 /usr/pkg/share/x11-links/include/X11/Xarch.h -> /usr/X11R6/include/X11/Xarch.h

And bbkeys built.

What is the proper "pkgsrc" way to handle this x11-links missing
X11/Xarch.h?

Should I send-pr this?

   Jeremy C. Reed
   http://bsd.reedmedia.net/