Subject: Re: pkgsrc newbie - How to set compilation options in php5 specifically
To: Leonardo Rojas <>
From: Florian Stoehr <>
List: netbsd-users
Date: 02/25/2005 00:59:24
On Thu, 24 Feb 2005, Leonardo Rojas wrote:

> I'm new to NetBSD.
> I've successfully built apache, php5 and the php5 extensions meta
> package. But even if enable the extension in php.ini, php doesn't
> recognize them. I assume that is because php wasn't complied with the
> extension enabled (ie: --without-mysql).
> Do I have to manually modify the php5 Makefile to enable these extensions?
> Is there some interface in pkgsrc to set compilation options analogous
> to the one curses one used in FreeBSD?
> Are there any other good pkgsrc documentation/tutorials besides the
> pkgsrc website?
> Thank you very much.

Look at the file "Makefile.php" in the pkgsrc/www/php[x] folder.

At the bottom, you'll find "CONFIGURE_ARGS+=", add your options there.