Subject: bsd.options.mk
To: None <tech-pkg@netbsd.org>
From: John R. Shannon <shannonjr@netbsd.org>
List: tech-pkg
Date: 08/07/2004 06:29:05
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to convert a package to bsd.options.mk and I appear to be=20
encountering a problem where the first option is lost:

I have:

PKG_OPTIONS_VAR=3D        LANGUAGES.gcc34
PKG_SUPPORTED_OPTIONS=3D  c ada 'c++' f77 java objc

in the Makefile, and:

LANGUAGES.gcc34=3Dada c

in etc/mk.conf.=20

When I make, the output shows:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The supported build options for this package are:

        c ada c++ f77 java objc

You can select which build options to use by setting the following
variables.  Their curent value is shown:

        LANGUAGES.gcc34 =3D ada c

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Yet the log shows configure is called with:

  --enable-languages=3D c

Am I doing something wrong?

pkgsrc was updated 2-3 hours ago.

=2D --=20

John R. Shannon
shannonjr@netbsd.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)

iEYEARECAAYFAkEUyxEACgkQOKbCxya4HYv4jACfVcoKG8R5921Daav2ANAhUX2x
rn4Anip6VATRlF0GxGaPh5aPciUXYtN5
=3DW4iR
=2D----END PGP SIGNATURE-----