Subject: Re: includes search path for pkgsrc
To: Simon Raahauge DeSantis <xiamin@ghostpriest.gay-robot.com>
From: Ceri Storey <cez@necrofish.org.uk>
List: netbsd-users
Date: 02/26/2003 19:04:31
On Wed, Feb 26, 2003 at 02:02:04PM -0500, Simon Raahauge DeSantis wrote:
> Hello,
> 	I am wondering how to set where pkgsrc compilation looks for headers.
> Specifically, I'm trying to get php4 to see the postgresql headers installed
> in /usr/local/include/postgresql. I didn't see any settings in /etc/mk.conf
> or any of the other make configuration files. Am I missing something?

You probably want to add an -I flag to the CPPFLAGS variable, eg by
adding CPPFLAGS='-I/usr/local/include/postgresql' to the make command
line.
-- 
Ceri Storey <cez@necrofish.org.uk>