From owner-svn-ports-head@freebsd.org Thu Dec 7 12:12:49 2017 Return-Path: Delivered-To: svn-ports-head@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 CE6AAE85242; Thu, 7 Dec 2017 12:12:49 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABAFD2EB4; Thu, 7 Dec 2017 12:12:49 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id DFEC7E7B; Thu, 7 Dec 2017 12:12:48 +0000 (UTC) From: Jan Beich To: Mathieu Arnold Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r455210 - in head: . Mk/Uses accessibility accessibility/accerciser accessibility/caribou accessibility/orca accessibility/py-atspi accessibility/py-speech-dispatcher accessibility/py3-... References: <201711301550.vAUFoYsm001135@repo.freebsd.org> <2776e2b9-6614-6331-b7f7-4152c2e635c6@FreeBSD.org> Date: Thu, 07 Dec 2017 13:12:45 +0100 In-Reply-To: <2776e2b9-6614-6331-b7f7-4152c2e635c6@FreeBSD.org> (Mathieu Arnold's message of "Thu, 7 Dec 2017 10:32:22 +0100") Message-ID: <374m-4tz6-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 12:12:49 -0000 Mathieu Arnold writes: > Le 07/12/2017 =C3=A0 00:16, Jan Beich a =C3=A9crit=C2=A0: > >> Mathieu Arnold writes: >> >>> Author: mat >>> Date: Thu Nov 30 15:50:30 2017 >>> New Revision: 455210 >>> URL: https://svnweb.freebsd.org/changeset/ports/455210 >>> >>> Log: >>> Convert Python ports to FLAVORS. >> [...] >>> Index: Mk/Uses/python.mk >> [...] >>> +.if ${FLAVOR:Mpy[23]*} >> Shouldn't this use :U like suggested by CHANGES? > > I have absolutely no idea what you are replying to. Maybe the following would help: $ svn blame Mk/Uses/python.mk | sed -n '/:Mpy/,/endif/p' 455210 mat .if ${FLAVOR:Mpy[23]*} 455210 mat _PYTHON_VERSION=3D ${FLAVOR:S/py//:C/(.)/\1./} 455210 mat .endif $ sed -i '' 's/:Mpy/:U&/' Mk/Uses/python.mk $ svn diff Mk/Uses/python.mk Index: Mk/Uses/python.mk =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 --- Mk/Uses/python.mk (revision 455493) +++ Mk/Uses/python.mk (working copy) @@ -436,7 +436,7 @@ FLAVOR=3D ${FLAVORS:[1]} . endif .endif =20 -.if ${FLAVOR:Mpy[23]*} +.if ${FLAVOR:U:Mpy[23]*} _PYTHON_VERSION=3D ${FLAVOR:S/py//:C/(.)/\1./} .endif =20