Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2012 08:30:51 -0500
From:      Bryan Drewery <bryan@shatow.net>
Cc:        ports@FreeBSD.org, Baptiste Daroussin <bapt@FreeBSD.org>
Subject:   Re: [HEADSUP] Please convert your ports to new options framework
Message-ID:  <4FCCB88B.6030007@shatow.net>
In-Reply-To: <20120603184448.GI92976@ithaqua.etoilebsd.net>
References:  <20120603184448.GI92976@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6468170AA235559664FC1B3A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



On 6/3/2012 1:44 PM, Baptiste Daroussin wrote:
> Hi,
>=20
> The new options framework is now in the port for a week, most of the pr=
oblems
> directly concerning the framework seems to have been addressed.
>=20
> regards,
> Bapt

A common question I have seen is how to support 0 or 1 in the SINGLE list=
=2E

You can achieve this by adding the SINGLE group to the OPTIONS_DEFINE.

For example:

OPTIONS_DEFINE=3D	DB_OVERRIDE
OPTIONS_SINGLE=3D DB_OVERRIDE
OPTIONS_SINGLE_DB_OVERRIDE=3D	BDB4 BDB1
OPTIONS_DEFAULT=3D	DB_OVERRIDE BDB4
DB_OVERRIDE_DESC=3D	Override DB backend instead of default DBM
BDB1_DESC=3D	Use Berkeley DB 1
BDB4_DESC=3D	Use Berkeley DB >=3D2

Here DB_OVERRIDE must be selected to select either of BDB4 or BDB1.

This gives you 0 or 1 on the BDB4/BDB1.

Regards,
Bryan Drewery


--------------enig6468170AA235559664FC1B3A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPzLiLAAoJEG54KsA8mwz5SFoP/3bKnjbQHCIFEcLeQ/Kl3uPK
Yyf/KHNaOOT/1VWzKzpqivMbt8tJEMkkMtdrnlu6PNoVtZo7PfBkJuYr5h4AWI8V
F8mHQ1ep7uqlRfEnuqVofLLI1h9h5M+OZp5P7LY5CYS9vrPlQlDLGT5gAt21PIM9
8nLzcfhPI0uWLbpAj+abK5CjYT4PZuGR9MNre4R8ouTy1A84ksfLt2nwwOra4WvR
0IizkJM0UI2okEgTU3e2FkuuWVwz52LOxu+VknPkoOl549fZsJn9nr79oSafzYAT
v9Z08JBdvCXSfGyKwth1who5RR+xcWJqYtt0wP6geIZz1vfCkK86RPVCOSfhoHmb
bw2al4rxYN55AzLhAvBuv0LusAKIS3hkT01FCspq18gKBceeoJOsk2n76NhHL7N4
LyhwaOlIbuNzFOgU7gbGRDHkIITjl2EqFkDfb5KX7/GFFU1xc5CX7wVpuRoVbVwl
o4q9NUEma0Vwoi8luiIWwpZZjHFUVmbIKzjKskKuzPSwhVNNu6cSzVO0wxqGIpiH
Y2+TwYQf5M0zF8vOWdoaqmX3c3ceLEymiInO+3P3N8wnSFat3FJZGHTtcWpzp8cd
6SLYFdExg/BhPt1av/03BDU+xFRxC5FA+LiG984m/36xxyK9IEtUEKWqzIPsGr2W
9XxlUJ5wBEVMDqMBhQb7
=9aLh
-----END PGP SIGNATURE-----

--------------enig6468170AA235559664FC1B3A--



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