From nobody Wed Jul 17 20:07:57 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WPRnT4TWJz5QHrN; Wed, 17 Jul 2024 20:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPRnT3wKnz4dVT; Wed, 17 Jul 2024 20:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721246877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VtHaxm3xwYVGATCj2uf1wiWCUguMKXFotnu4S6veDJU=; b=HYbcrKiN3D5wbJ0ul6OYWuSgZjIwfb0LfI0WYVGQWGwfJUzUuA9JzaV9whQl1DtdYkLp7F Sn71INCfaHpjNKOjHaBpnnznhLSzHzaPQj9x57HD2b0CfgY9LzCqpbnzxJml5/XOcF8GEz 1AbS8yRDrej0r1gejj/EKUwCfwU2p9EPPmd2bBi4NDJ5lGILEHVaWVc12UHqaJVIjmFYcR RpTPnayL0YGkidBbimerjmSlfnta04nB9/MsSmQxO9rXu8XXEzrDSgJBDnAfDFTyaJXWu1 GvvhJ2A9YMdM87mgWd+hD3lHOypmZhMkFB/oTzu+jaLBnno2z8sf0BX0sxmrww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721246877; a=rsa-sha256; cv=none; b=FPf+Xx3sViaDzT2BKdJMeb3mbGmUKgQUHIoBIIcVOHlVjtTLI2eWQ3YEQzvm+irJaDxIGH V1w1hTratu+DBjRCyETb7zdHQQ+arCMi32DbYWkaZZm2TQ7+66FJaNcdk3v5U+vmPzqYXE 7jXQED4FvwyK4WvozmwZiraN0hDLSCtBWaYY1vK6v1syqoQ67pv7HeEKuTr2wlQwc/xKrQ Y659bGnHO3DiWwN4y+lrL8479PAZCjEmS2sf3be/Lz7ivr00xsE0IRHGJrrStDxZfIFbmw r6nBMCyRV2GPLlSZJahjaV7JfkA53k7M+KWCTJI3kI2BcTAt3PvdurNfAgm2jQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721246877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VtHaxm3xwYVGATCj2uf1wiWCUguMKXFotnu4S6veDJU=; b=uBacwsbluz7REYezZtoSbHVf66Y8RFot4nIBcuds/EGMPorUMwCrBOen6YAK07tyz0Hvam M2ghAlr3DXToKCqYEDCcRUhm+iEXhNXW+YoK5WRXsX162PxJmCIkSlDIdEAoTBRfpm3GY7 lp0B6ijUtzfrrPAe331NPn8pBgoVwlxIDYq24AHnXVsJpNio0roNSz5nWOkslWL8ITB4k8 D7OmS0KTSTAzSQjWy73yqVGkxWdQGDzhCxkKdl2Cwu6x/19OmBVYAJ1jd+mfMccwtuUbxc TH9ul+20Coxp3s4PTtEv2vfsKA94SeVkdTOahoYRbKWXI8nGLHXolD7YS4dnZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WPRnT3WXKzJPh; Wed, 17 Jul 2024 20:07:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46HK7vZv009658; Wed, 17 Jul 2024 20:07:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46HK7vFp009655; Wed, 17 Jul 2024 20:07:57 GMT (envelope-from git) Date: Wed, 17 Jul 2024 20:07:57 GMT Message-Id: <202407172007.46HK7vFp009655@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bryan Drewery Subject: git: 65e7ca580dfb - main - ports-mgmt/portupgrade-devel: Fix with Ruby 3.2+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bdrewery X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65e7ca580dfb5e9467727b09ceca69ed7faed619 Auto-Submitted: auto-generated The branch main has been updated by bdrewery: URL: https://cgit.FreeBSD.org/ports/commit/?id=65e7ca580dfb5e9467727b09ceca69ed7faed619 commit 65e7ca580dfb5e9467727b09ceca69ed7faed619 Author: Bryan Drewery AuthorDate: 2024-07-17 20:07:15 +0000 Commit: Bryan Drewery CommitDate: 2024-07-17 20:07:41 +0000 ports-mgmt/portupgrade-devel: Fix with Ruby 3.2+ Copies the change to ports-mgmt/portupgrade made in commit 32a6b38c233cbe0c401c835ec8b5755e62b51d68 --- ports-mgmt/portupgrade-devel/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index ba8592cabdda..1ae4cf697486 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= portupgrade PORTVERSION= 20180309 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 3 CATEGORIES= ports-mgmt MASTER_SITES= GH \ @@ -48,6 +48,11 @@ regression-test: patch post-patch: .SILENT REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ ${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb +.if ${RUBY_VERSION_CODE:U} >= 320 + cd ${WRKSRC} && ${FIND} bin etc lib -type f |\ + ${XARGS} ${REINPLACE_CMD} 's/File\.exists\?/File.exist?/' +.endif + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg