Subject: Re: pkg-src build problems.
To: Simon Burge <>
From: Curt Sampson <>
List: tech-toolchain
Date: 12/10/1998 17:43:39
On Fri, 11 Dec 1998, Simon Burge wrote:

> I guess it's a question of high tightly integrated we want the package
> (and X11?) stuff.  One of the things I liked about the "old way" X
> used to work on some systems was how it had the includes installed in
> /usr/include/X11 and not some separate sub-directory...

Typically xmkmf will generate a Makefile that includes -I/usr/X11R6/include
on the cc command line. That's why it's not been a problem. If it's
a problem on a particular machine, you can always symlink
/usr/include/X11 -> /usr/X11R6/include/X11.

The /usr/pkg/include thing is a bit trickier to deal with. Should
something like the /pkg -> / symlink thing become available, that
would solve it since the include files would just end up in
/usr/include. Those that wanted them separate would have to add a
-I to their cc command lines.

Curt Sampson  <>   604 801 5335   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: