Subject: Re: bsd.options.mk
To: John R. Shannon <shannonjr@netbsd.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 08/07/2004 13:38:50
On Sat, Aug 07, 2004 at 06:29:05AM -0600, John R. Shannon wrote:
>
> I'm trying to convert a package to bsd.options.mk and I appear to be
> encountering a problem where the first option is lost:
>
> I have:
>
> PKG_OPTIONS_VAR= LANGUAGES.gcc34
> PKG_SUPPORTED_OPTIONS= c ada 'c++' f77 java objc
>
> in the Makefile, and:
>
> LANGUAGES.gcc34=ada c
>
> in etc/mk.conf.
This is an excellent idea, BTW.
> When I make, the output shows:
>
> ========================================
> 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 = ada c
>
> ========================================
>
> Yet the log shows configure is called with:
>
> --enable-languages= c
>
> Am I doing something wrong?
I've been trying to duplicate this error, but I can't seem to do so.
Could you send me a tarball of your gcc34 package and also your
/etc/mk.conf so I can get a working test case?
Thanks!
-- Johnny Lam <jlam@NetBSD.org>