From owner-freebsd-ports@FreeBSD.ORG Wed Aug 8 06:25:20 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B70B1065673 for ; Wed, 8 Aug 2012 06:25:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C97778FC18 for ; Wed, 8 Aug 2012 06:25:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q786PAQZ071732 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 8 Aug 2012 07:25:11 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q786PAQZ071732 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1344407111; bh=fbBtnONsMci2vJVtlfleFoASnsgzTz+xDSyg/QaXl7I=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=rgPcZCayotXAxZCU+QYuEiA1+UI/qsgr0xPoBJ1AyqUiT+JZf1MlxeGL9Qf6N28QG K/es0Je9f4upK5iCoKY6no6u6kmp9Pv8FTz9tbYWch0f4Nzd31H9wsd7MfOFWs7bT7 afXx5XTQRoiyXjUbsl8ms71wGJ4fOrd7ycoBDQ9M= Message-ID: <5022063D.3090106@infracaninophile.co.uk> Date: Wed, 08 Aug 2012 07:25:01 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <20120806160425.GA23270@icarus.home.lan> <502161C6.70801@FreeBSD.org> <20120807193029.GA26868@icarus.home.lan> In-Reply-To: <20120807193029.GA26868@icarus.home.lan> X-Enigmail-Version: 1.4.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1AD6574F42AF4D9D825E5318" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID,WEIRD_QUOTING autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-ports Subject: Re: Questions about/issues with new OPTIONS framework X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 06:25:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1AD6574F42AF4D9D825E5318 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/08/2012 20:30, Jeremy Chadwick wrote: > So it's based off of UNIQUENAME? That's interesting. >=20 > The ""documentation"" implies that the name of the variable itself > should be the {nameofport}_SET or {nameofport}_UNSET, where {nameofport= } > should equal the name of the actual port directory you're in. Yet, tak= e > a look at this: >=20 > root@icarus:/usr/ports/devel/apr0 # make -V UNIQUENAME > apr >=20 > root@icarus:/usr/ports/devel/apr1 # make -V UNIQUENAME > apr >=20 > root@icarus:/usr/ports/devel/apr2 # make -V UNIQUENAME > apr Actually, there is a set of changes being tested and refined at the moment to make UNIQUENAME really unique per port. See http://people.freebsd.org/~matthew/uniquename/uniquenames.diff for example. PR ports/148637 Which means that those ports will have UNIQUENMES of apr0, apr1 and apr2 respectively, and the MySQL ports: > root@icarus:/usr/ports/databases/mysql55-server # make -V UNIQUENAME > mysql >=20 > root@icarus:/usr/ports/databases/mysql55-client # make -V UNIQUENAME > mysql55-client would use mysql55-server and mysql55-client respectively. Actually, that raises an important point, because the constructed variable names like 'mysql55-client_SET' should perhaps have syntactically significant characters like '-', '+' mapped to '_' One intended consequence of this change is that ports which have accidentally ended up using the same OPTIONSFILE now no-longer will. Where it is desired for ports to share the same OPTIONSFILE, as in the case of mysql55-server and mysql55-client then those ports will have to have explicit settings to enable that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig1AD6574F42AF4D9D825E5318 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAiBkYACgkQ8Mjk52CukIwoXQCdEqz4nVyO7ZJDim1tixVYRGCj tFIAn13qeYeiYdMR+l/9Ibo09o1NEqIG =JpDE -----END PGP SIGNATURE----- --------------enig1AD6574F42AF4D9D825E5318--