From nobody Sun Mar 20 01:26:14 2022 X-Original-To: dev-commits-ports-main@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 BD8131A2FF8D; Sun, 20 Mar 2022 01:26:15 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KLg7W04JQz3J7K; Sun, 20 Mar 2022 01:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647739575; 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=02ZA+1KrfQp8DdFOcCMH2aDMsBaWZRyceZjN2boia6c=; b=K0tnLTiF9XfcJMfEYZdL0w7JOfAP29zNlwoza5ZkiKfelxt/fb0AVjX37Ptl35JQip7uqC QEprWRsNKhOE4QMMHQs/cmIQfgot0572P/NvZLmtYvlUisU9vQCYAbUtqP1cFes8KgI7CF Pyzv4G/VOXa0TltXV2Nrp2QDU6UrIMfQ4K24e6mtr24whAsLaI3Qt4aZ0AgP8q96rcYg0r Csk+gXZiesZz8gFJUprd+ePuwLxlV9yu4krKRHlBh+P2lMhP0bihEQJ68fbiYJUa+YEpN9 ABGwzSut1nYeRbZs+5BskM3Z0OgTX65TjZcOWOUXRIDSdR4DmUdhdMp1vVbVsQ== 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 D6EAA1DD4B; Sun, 20 Mar 2022 01:26:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22K1QEcs011412; Sun, 20 Mar 2022 01:26:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22K1QELs011411; Sun, 20 Mar 2022 01:26:14 GMT (envelope-from git) Date: Sun, 20 Mar 2022 01:26:14 GMT Message-Id: <202203200126.22K1QELs011411@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: ea02c904697c - main - www/unit-ruby: fix build with ruby 3.x List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ea02c904697c622af1e87170e1b8d139f48395d4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647739575; 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=02ZA+1KrfQp8DdFOcCMH2aDMsBaWZRyceZjN2boia6c=; b=UJFX2hU+eOIp/h5ZR5KDCHBbc3vj1muphL2af54+EpZ8TmN+5HJJiMoOHJtP2y5MfZS9D+ ZruQ8PraTuU6+1STuB91H0h7+B2Ru/fS4f9aVVqZ4sRL3HSoEqvPxp4FVjq3KMdP6rVXxY dgHH/CRAt+SF9KN0b8L0sjvQlHc0tqTV1FwNd4ytxq4GAihymlAD925LNevLSp8hoLafzX XPIM2EyL5/eqT99VNm6QtFRyJGmMVzlYwl973WlklK/t4yg/VxFHQ6dLFTN1rVyv2wIpky e24wlwAW/BgamIOEpClkrTWeThwbxvnzI/Wc+utRLiITdhREaFXBPem6PjgY5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647739575; a=rsa-sha256; cv=none; b=NpD8bHHPeLBfGDorYhdKCZ186ewdneKFneDxFvbu4nqpT3y1IHjMm/idMQzMT9nmJcjbHo JDL6iZ8xMzHpJcLSV7MW5gDPopUabhSxSHiVf5YJyDwcGYHeHcqzegt6UsDuLw54ILIicf TUsGcWeoIhWO5D3RxN6Xks+oZFbPiNu6OasxB/8+6JjYXw55JXEfsXo14owiZAwxeTh7UR xjyrbOn4ud0CeXDEv9tDddTs0c0gw09iUfudvF+WIakG/HLmdYzJRpXp4zvM5I42nAP/1g zbhUqOnmtmjZVyYCDIT9GqBefMLzhsSMIKg/M1GojnkvJQg7f/VkscGWDpE9DA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea02c904697c622af1e87170e1b8d139f48395d4 commit ea02c904697c622af1e87170e1b8d139f48395d4 Author: Sergey A. Osokin AuthorDate: 2022-03-20 01:24:50 +0000 Commit: Sergey A. Osokin CommitDate: 2022-03-20 01:26:09 +0000 www/unit-ruby: fix build with ruby 3.x PR: 262541 --- www/unit-ruby/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/unit-ruby/Makefile b/www/unit-ruby/Makefile index f4afe176045c..4455996fc9ef 100644 --- a/www/unit-ruby/Makefile +++ b/www/unit-ruby/Makefile @@ -14,6 +14,8 @@ PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so USE_RUBY= yes +CFLAGS+= -fdeclspec + USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit @@ -21,6 +23,7 @@ MASTERDIR= ${.CURDIR}/../unit post-configure: cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ruby \ + --ruby=ruby${RUBY_VER:S|.||} \ --module=${UNIT_MODNAME} do-build: