From owner-svn-ports-all@freebsd.org Thu Nov 7 18:45:32 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B43D1BCF49; Thu, 7 Nov 2019 18:45:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478C5S0sdPz47dl; Thu, 7 Nov 2019 18:45:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [79.143.240.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DA4AA168F2; Thu, 7 Nov 2019 18:45:31 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id A9155942F8F; Thu, 7 Nov 2019 18:45:30 +0000 (UTC) Date: Thu, 7 Nov 2019 19:45:30 +0100 From: Mathieu Arnold To: Jan Beich Cc: Mathieu Arnold , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r516900 - in head/multimedia: ffms2 vapoursynth vapoursynth-l-smash-works Message-ID: <20191107184530.qhh5xrchgjhmxs3a@atuin.in.mat.cc> References: <201911061642.xA6GgS3V041740@repo.freebsd.org> <20191107081032.kqotphm5wzk3bhgf@atuin.in.mat.cc> <20191107140053.d36yftvnvxceyhps@ogg.in.absolight.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nzrs6offcduc35jh" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 18:45:32 -0000 --nzrs6offcduc35jh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 07, 2019 at 05:06:46PM +0100, Jan Beich wrote: > Mathieu Arnold writes: >=20 > > On Thu, Nov 07, 2019 at 12:42:13PM +0100, Jan Beich wrote: > > > >> Mathieu Arnold writes: > >>=20 > >> > On Wed, Nov 06, 2019 at 04:42:28PM +0000, Jan Beich wrote: > >> > > >> >> Author: jbeich > >> >> Date: Wed Nov 6 16:42:28 2019 > >> >> New Revision: 516900 > >> >> URL: https://svnweb.freebsd.org/changeset/ports/516900 > >> >>=20 > >> >> Log: > >> >> multimedia/vapoursynth: mark BROKEN on non-x86 > >> >>=20 > >> >> Modified: > >> >> head/multimedia/ffms2/Makefile (contents, props changed) > >> >> head/multimedia/vapoursynth-l-smash-works/Makefile (contents, p= rops changed) > >> >> head/multimedia/vapoursynth/Makefile (contents, props changed) > >> >>=20 > >> >> Modified: head/multimedia/ffms2/Makefile > >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > >> >> --- head/multimedia/ffms2/Makefile Wed Nov 6 16:42:19 2019 (r51689= 9) > >> >> +++ head/multimedia/ffms2/Makefile Wed Nov 6 16:42:28 2019 (r51690= 0) > >> >> @@ -11,18 +11,24 @@ COMMENT=3D FFmpeg-based source library and Vapo= urSynth p > >> >> LICENSE=3D MIT > >> >> LICENSE_FILE=3D ${WRKSRC}/COPYING > >> >> =20 > >> >> +.if ${MACHINE_ARCH} =3D=3D amd64 || ${MACHINE_ARCH} =3D=3D i386 > >> > > >> > We never use MACHINE_ARCH in the ports tree, we use ARCH, and it is = only > >> > available after an include. All our tools use/set ARCH, so, please = use > >> > it. > >>=20 > >> This is a temporary workaround, so avoiding "svn blame" churn is prefe= rred. > >> Also, I planned to switch ARCH to use MACHINE_ARCH internally in bug 2= 15401. > > > > Whatever the reason, MACHINE_ARCH must never be used for tests, please > > fix it to use ARCH.=20 >=20 > Can you provide a non-cargo-cult rationale? A number of ports (ignoring > those in question) already use MACHINE_ARCH. I just had a look, there are, right now, 10 ports that go against our policy of NEVER USING MACHINE_ARCH FOR TESTS. So, while 10 is a number, it is not a rule, it is an exception, something that was missed upon review. The rationale is that it is our policy, and as much as I dislike portlint, it has been sayinc so correctly for the past 15 years. You do not use MACHINE_ARCH directly, you use ARCH. --=20 Mathieu Arnold --nzrs6offcduc35jh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAl3EZklfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkgSNA//ccWnh2w35pupA1p1COA4GT9y4uIMaueZOy7vGElHkLNmlF/xnZ/CVnV7 eNBANeB4G4IG06diqbVuG3A4s5wbQCM+MFP3NOXQIuggU6M82uTY7UtUlu21oGsz nAJ6VheCAWVR2vHyp3fFZwj4BvThmqEKv/97DGU0CaSjeyik/ApKEKE6+nRLx0xO NSuxtjvcDgDb14O1gxLO+POiDPIRGFcEH3blGYb04Bye+rFUNwPxwUpbsu9goA+/ 8Rp8p941vZ2g218Xz5c3F/nWXMKckygk3vXeAglIox8EmfKw3ZGJoOFnxdOfXXuR mQ0RquDJ/y4EnrP+NQJwI13w0Ktek8438dvo71MOvvXaBRi0MkOhY0pINaJ7EaYj fPbevpWGjpeTssAW9Ay26tdmRX3bCnvvmuDGTgEl3cpp/dFAIXtX8snFvOrPhhWH fh2SRXN2CGX7iYMVFWYKwvawdhCxWEtzqtwPASXscgjW44SqJLXA9L1asz4cO8mK b8ceSrmziVTgvnXRD8AIRzRfbA6Tqno24ssHkqMBKur4rc+yz3mqVjHB2kAeSzwt iWHziUI3gjNyFQUVq+ynNHFSEXFr2GDoNcVZ4UxBW9/0AUSEi+Xr0qvHtrHkEmCX dDbNQSt2a/d16KLeH935ybMDmmC4ExejUQa7U6fO0lWbIij4yUs= =he4i -----END PGP SIGNATURE----- --nzrs6offcduc35jh--