From owner-freebsd-ports@FreeBSD.ORG Sun Mar 25 17:34:00 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C95106564A for ; Sun, 25 Mar 2012 17:34:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) 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 720D08FC0A for ; Sun, 25 Mar 2012 17:33:59 +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 q2PHXsgk026343 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 25 Mar 2012 18:33:54 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.0 smtp.infracaninophile.co.uk q2PHXsgk026343 Authentication-Results: smtp.infracaninophile.co.uk/q2PHXsgk026343; dkim=none (no signature); dkim-adsp=none Message-ID: <4F6F56FB.4030704@FreeBSD.org> Date: Sun, 25 Mar 2012 18:33:47 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120313 Thunderbird/11.0 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig736C26BEFC81B9353F3493B1" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: _DEPENDS+= and make index speed 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: Sun, 25 Mar 2012 17:34:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig736C26BEFC81B9353F3493B1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 25/03/2012 17:22, Michael Scheidell wrote: > I don't think it hurts anything but if you have a bunch of ports > doing this, doesn't it have to slow down make index? The extra check > for, reassign and cat an undefined var has to take more cpu than a > strict assign, right or am I just nitpicking? Unlikely to make a significant difference. Most of the time in building the INDEX is spent doing file IO -- opening all those Makefiles, and the files they include, etc., ad nauseam. -- and then parsing the thousands of lines of make code. And then doing all over again for the next port. Couple of assignments using +=3D in a couple of port specific Makefiles isn't much compared to that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig736C26BEFC81B9353F3493B1 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/ iEYEARECAAYFAk9vVwIACgkQ8Mjk52CukIxGXQCfVkpw8JmYyDLufOKWZ4/+Okuz wu8AnRBohtkP5dQEF9fLoRa2NhVzDkua =i0s8 -----END PGP SIGNATURE----- --------------enig736C26BEFC81B9353F3493B1--