From owner-freebsd-ports@freebsd.org Sat Jan 28 19:25:45 2017 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 C3961CC6593 for ; Sat, 28 Jan 2017 19:25:45 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C8641257 for ; Sat, 28 Jan 2017 19:25:45 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 09804A09E for ; Sat, 28 Jan 2017 19:25:40 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/09804A09E; dkim=none; dkim-atps=neutral Subject: Re: a quick question about make package-recursive To: freebsd-ports@freebsd.org References: From: Matthew Seaman Message-ID: <45e8f3ee-a2d6-30c1-3f11-8c1683b59733@FreeBSD.org> Date: Sat, 28 Jan 2017 19:25:33 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x9QgHx3pCWTSCwhV60n3rCTAJfpAIKq5E" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2017 19:25:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --x9QgHx3pCWTSCwhV60n3rCTAJfpAIKq5E Content-Type: multipart/mixed; boundary="8Pb3O7AKkresHWMitjfCeNKH175dpsglH"; protected-headers="v1" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: <45e8f3ee-a2d6-30c1-3f11-8c1683b59733@FreeBSD.org> Subject: Re: a quick question about make package-recursive References: In-Reply-To: --8Pb3O7AKkresHWMitjfCeNKH175dpsglH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28/01/2017 17:17, tech-lists wrote: > Is make package-recursive smart enough to detect when: >=20 > 1. there is already a package in /usr/ports/packages (so that it doesn'= t > re-make a package for an installed port) >=20 > 2. a port is installed but there is no package (so that it just install= s > the package into /usr/ports/packages) >=20 No, 'make package-recursive' is not smart enough to handle either of those conditions in anything like the way you would like. Hint: use poudriere. You're going to have a one-time hit to generate a repository full of packages, but after that, poudriere will be much cleverer about working out what is necessary to rebuild. Cheers, Matthew --8Pb3O7AKkresHWMitjfCeNKH175dpsglH-- --x9QgHx3pCWTSCwhV60n3rCTAJfpAIKq5E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYjPAzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATnukP/2Bl4EQJqdWD5IHsVFvqScMc 8fOpihetaBwPPs9jRLTFrfGzg4nhSqvebF4AvN9KcuN1UXGt78y0ulYFzjQeGY2o KzrweTb7sXDMkRbbC1XbvRhqtUla95hrlSb5Sry399zN4f40UKU83zGlMr29vPP4 xgumDp+eMyUj5xyn/0y1zOFb6PQ03CANHO0MdFWt/uN9mc+3C3gFSp1lhv1Gb3vA gcSDUF3LRSI5r5TqGJdnXqSprYk286G1zXY4RkW4d7mwqbw35JZV7prWw7Jq6ExJ flk/Tg9YRqt+XjPFkZtlrzTrEGYxq1XU+2NTQ/6tATWE6kw1uKDU0h/YouGLwCtl AdvI/MVLMXiTTgwqHVbN1PNPQ4Hxwa86lawJ40Rcl56qufBiDF8800Xo3w+VqQzU /W5qpyD7xP2e/upkO8ThpkKoPUTe6lSFvfkuMB1Tz8DopoZS1jdSafPvWN4zvRY8 ZTFdXfdvuWYyGMXrVLGzGuojXxZ0l+vnzdU6xT94e/hqW5cKC4H7iXfFfjmD/nq+ Lh3GiiTW2NNrgm2kk2meEedxuBqTsDg5y8l7jpOm8zsFRAI5e84wCYlTKcOdvWiA PxzwmgWHunuMb4YPX7oPKBRf1ByOrND/RTnLcru5DtZfuy6k1RjFSp32iLgMLaNy 8TJpTr6mJWYxiuAOaA8c =1K4N -----END PGP SIGNATURE----- --x9QgHx3pCWTSCwhV60n3rCTAJfpAIKq5E--