Subject: Re: mk.conf PKG_OPTIONS. problems
To: Tomas D <u0giene@yahoo.com>
From: Quentin Garnier <cube@cubidou.net>
List: tech-pkg
Date: 05/26/2005 14:32:30
--3xHYp4KIwhE2rfeC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 26, 2005 at 05:03:32AM -0700, Tomas D wrote:
>  Hi,
> I've recently upgraded to netbsd 2.0.2 and started to install some softwa=
re I hadn't been using
> much before (such as apache php and mysql) as you might know some extra c=
onfigure args needs to be
> specified in order to make all work together nice so I've been reading tru
> http://www.netbsd.org/Documentation/pkgsrc/options.html and understood th=
at configure args
> specified from /etc/mk.conf must follow after 'PKG_OPTIONS.<pkg_name>=3D'=
 something like mine:
>=20
> PKG_OPTIONS.ap-php=3D"--with-apxs2=3D/usr/pkg/sbin/apxs \
>         --with-mysql \
>         --enable-force-cgi-redirect \
>         --disable-cgi \
>         --with-zlib \
>         --with-gettext \
>         --with-gdbm"

That's really not what you're supposed to do.  Do "make show-options"
to know what options are available and which are enabled.

The PHP modules have their own package (see, e.g., devel/php-gettext).

And to use Apache2, define PKG_APACHE=3Dapache2.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--3xHYp4KIwhE2rfeC
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEVAwUBQpXB3tgoQloHrPnoAQLetAf+OCDa7DMjSerEBxFXvc96w7B6TcQXPyuR
SOtEdoIUhyGijT6i4E9W3anbYOxTUrNWKeYS3k8CDM3ag+nisTlrMBhaE19ruFtK
FTViwus/AzMEbE1Oa5YtnkAqDMGmkiUIeb824AuF0NWGI8vSQ3oFpcu7SvFJf3sR
nGB31Vi+31SsUY+NIxDft3SavEseTS60BeODIBca44PBHEQL990K+arj79ZQOX2m
3fybB743mUxzxmYiZkkH8koEWde+n6QsVH0kXWAaRmdOMvXxtgB1TClAlkGKcHSx
xpoY0RIMUidQU8VbERNroH09dy0rydqspOGHBTk7xl45w/v2Lg7Gjg==
=2HSx
-----END PGP SIGNATURE-----

--3xHYp4KIwhE2rfeC--