Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2012 22:29:28 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        ports@freebsd.org
Subject:   [OPTIONS NG] multiple OPTIONS_MULTI not possible
Message-ID:  <20120604202927.GO71775@e-new.0x20.net>

next in thread | raw e-mail | index | archive | help

--iEWWOZ/QYGWEaBRW
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I think I found a bug in the new Options framework:

When more than one MULTI group is defined, only the last one is shown
in the OPTIONS window and in "make showconfig":

# make showconfig
=3D=3D=3D> The following configuration options are available for atunes-2.0=
=2E1_2:
     CDDA2WAV=3Don: Ripper:  Enable cdrtools support
=3D=3D=3D=3D> Options available for the multi ENGINE: you have to choose at=
 least one of them
     MPLAYER=3Don: Engine:  Use Mplayer
     XINE=3Doff: Engine:  Use Xine
=3D=3D=3D> Use 'make config' to modify these settings

The port's Makefile looks like this:

[...]

OPTIONS_DEFINE=3D         CDDA2WAV

OPTIONS_MULTI=3D          ENCODER
OPTIONS_MULTI_ENCODER=3D  LAME VORBIS FLAC

OPTIONS_MULTI=3D          ENGINE
OPTIONS_MULTI_ENGINE=3D   MPLAYER XINE

OPTIONS_DEFAULT=3D        MPLAYER CDDA2WAV LAME VORBIS

MPLAYER_DESC=3D           Engine:  Use Mplayer
XINE_DESC=3D              Engine:  Use Xine
CDDA2WAV_DESC=3D          Ripper:  Enable cdrtools support
LAME_DESC=3D              Encoder: Enable lame MP3 encoder
VORBIS_DESC=3D            Encoder: Enable vorbis OGG encoder
FLAC_DESC=3D              Encoder: Enable FLAC encoder

=2Einclude <bsd.port.options.mk>

[...]

So the ENCODER MULTI selection is missing.

Lars =20

--iEWWOZ/QYGWEaBRW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/NGqcACgkQKc512sD3afhtzgCeNENBRKcnykLUD2sydYYxUHWt
cA8An1PdPMY05PJJkV3Fakv7bqQlspx8
=H9WW
-----END PGP SIGNATURE-----

--iEWWOZ/QYGWEaBRW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120604202927.GO71775>