From owner-freebsd-ports@freebsd.org Wed Oct 28 11:42:06 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECB2CA1FAB5 for ; Wed, 28 Oct 2015 11:42:06 +0000 (UTC) (envelope-from fonz@skysmurf.nl) Received: from biertje.skysmurf.nl (unknown [IPv6:2001:984:78b5:1:21b:78ff:fea8:3f22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 868901A69 for ; Wed, 28 Oct 2015 11:42:06 +0000 (UTC) (envelope-from fonz@skysmurf.nl) Received: from biertje.skysmurf.nl (localhost [127.0.0.1]) by biertje.skysmurf.nl (8.14.9/8.14.9) with ESMTP id t9SBg4YQ097410 for ; Wed, 28 Oct 2015 12:42:04 +0100 (CET) (envelope-from fonz@biertje.skysmurf.nl) Received: (from fonz@localhost) by biertje.skysmurf.nl (8.14.9/8.14.9/Submit) id t9SBg4gs097409 for freebsd-ports@freebsd.org; Wed, 28 Oct 2015 12:42:04 +0100 (CET) (envelope-from fonz) Date: Wed, 28 Oct 2015 12:42:04 +0100 From: "A.J. \"Fonz\" van Werven" To: FreeBSD ports mailing list Subject: How to make a port require at least one option? Message-ID: <20151028114204.GA97395@biertje.skysmurf.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline X-PGP-Key: http://www.skysmurf.nl/~fonz/fonz_pubkey.asc User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 11:42:07 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I'm working on a port that has two options, of which at least one must be selected, but selecting both is OK too. Can somebody please point me to an existing port (surely there must be some already) that has this, so I can see how to use the options framework in this case? Thanks in advance. AvW --=20 I'm not completely useless, I can be used as a bad example. --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWMLSMAAoJEAfP7gJTaCe8HNoQAIHdFZ4cZr6H59TmMT79oH3R 9F7PMQ2IQpICK4u0rI6OiMDrMGsokN4+GOR5hSwOFyqvS/3hvaD3qE2mAfOKqHmi txkRN0YgpzYrPi+V8n32uY4BRbTKgGZ4vEl+w6Lke2cs094LcUYi2v9nPPYn9k9O a/skO0DnUsSpQ4EuS93hpSuxY02lppjaTkMcWxMvY/hax+0XCKSLsW96ApKyVtuY HGrq2/l/TKCDztSdpJr69Y2qWfFrsvnB1A3yNwknq3f4D1IhZyU9qLzEXAmjOOIv fgihVjHgHszPjXGctExoP31YVNH+Hza6dKvcmLFFqXjMuU2kry2woeMg42xYCfGL KIXW2S/EhkoEJw8iGpazCr+Zsda3yu9rYPknuI+R3pJvKoRA1v6Q9LyDR4MGtXvU jajdz8Pf6dap0nmsy0Joy6HB7gRTL77lLqHqnF3gGkDcnEwROj9TDgfFcFQWwtzJ gbcnrUYtiClBPN3GzzwC3O7Egfzhj0nRhTBeg6M1kmlWzgpCvdnKMOxfMaBJxnST e6z7Nc2nhAjUkJKm9Is8mUF37x13Akl1HTtAMd42wTOz7sMBJsD+64jJsDMv95xk e0nwxYcLe/0KXsZhp/YEYZHnNXMPUNVtchqTLDqlu5pDGPiL+VJmDKxNvSPWNMOv CL2q2jDhpO7tt3fTusWA =xojz -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--