From nobody Tue Aug 16 23:28:50 2022 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 4M6nQq1TGjz4Zkr2; Tue, 16 Aug 2022 23:28:51 +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 4M6nQq0vlFz3wnP; Tue, 16 Aug 2022 23:28:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660692531; 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=uA193kWrH3+w7adSOfgCv1yRQ0niKJT56JeHSnxnkJ8=; b=Ua7QxVTQGBkXt4U8DNLXTNoV5X9i8Gi94aJpsOI1hpTW3rUx6xShQBsLLt9bqlr/6D3Wqu 017LfqEb9cOOvfvF7viw9to2qxK/EP67X7onE2RS9HLBv9KCQ/B0bUa+2559rISDu8mhug CY13EzdelLETYnwBqFhfLL62uuHRI4deq7RtUXoI1XdU5qNezvoOmeLdmezZaD25xs5ShT D9U9E0hFdlRVdFp6t3ntNTVc7EOLCJSy+jxk3FF+L9+cB6RxQc6kJf7yfTPjrTeHUpZ5YM 1s5wLOmLyvQOpjAxSC09tnXfFks2ol2Isfk5joKIoUmpnjFrKZBScAxGEJq3Sg== 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 4M6nQp72NPzS2T; Tue, 16 Aug 2022 23:28:50 +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 27GNSo60055895; Tue, 16 Aug 2022 23:28:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27GNSoD9055894; Tue, 16 Aug 2022 23:28:50 GMT (envelope-from git) Date: Tue, 16 Aug 2022 23:28:50 GMT Message-Id: <202208162328.27GNSoD9055894@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Yasuhiro Kimura Subject: git: d43ba09205cc - 2022Q3 - mail/milter-manager: Fix runtime error with Ruby 3.0 or later 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q3 X-Git-Reftype: branch X-Git-Commit: d43ba09205cc7a4c8469cd8ce9dcd4ed0e4f478d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660692531; 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=uA193kWrH3+w7adSOfgCv1yRQ0niKJT56JeHSnxnkJ8=; b=EjrCBn8qLbYwXiE1Fc4kWiT0FerGCk/AuExvH1W+yXKMTasVMaAhbMsIDyLxVUJnhjG5y7 AI2+070QZ/MEVMkEimAXFn2dJtRLPe4fmCOQlnrKga50O8745crTBNyh5aDpn+Bva0Gof9 4p5HlsX+/21XGYkVIq0lkqwV2D7kqnqaD3NhliGGs1C1nu2f4J8+nMm7KjhDI9MMwdoD3p z23qjnSdhqLwvSbuwQ26qW0uv8H7bEo6SxxHuuQhPHlbYhkF2T3imnB/7TSNwwkxIAZmWV 2GD+06EEp2jArArk3SbzrQap1jE24akLdskVrUiICwlrdF4drNt9xnzHWx4WUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660692531; a=rsa-sha256; cv=none; b=REPw26aMFhTT6yJ0wTDUXPlToZtLV6i2eVeRdE68NZkEnsijqRLO/NxjKzfIblBBl9VoIB DS6PlIpgnXtUAt2lBuK4o9P3l6OFqyEnFP7DPXFTiws112guY8Qn/rAZtzlozQOSCD12JA qFrEHexB3sNeS495kQB3AeiHK+qYsM0apqjEpYjMCP8RjSZtpSj6wnNZihjPMrWa7esFe4 VIxISjAW99P8VAUOpFGRed2o/QJBT2P+c2lU+Skf9Lqd6zsANadWszQgJkaBSWjsoRr9UJ BFnwNP2Ghn40oWX/D1OHDgD7GAhReXFGSLHZyNg9S47/mnji1z4M+BKX7U5KnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q3 has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=d43ba09205cc7a4c8469cd8ce9dcd4ed0e4f478d commit d43ba09205cc7a4c8469cd8ce9dcd4ed0e4f478d Author: Yasuhiro Kimura AuthorDate: 2022-08-16 16:18:52 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-08-16 23:28:13 +0000 mail/milter-manager: Fix runtime error with Ruby 3.0 or later milter-manager requires rexml to run. Since Ruby 3.0 rexml is converted to bundled gem. But our Ruby ports don't include bundled gems. So fix runtime error with Ruby 3.0 or later by adding rexml port to RUN_DEPENDS. While here, change post-patch target so it doesn't remove bundled glib2 gem. Build succeeds without doing it. Reference: https://github.com/milter-manager/milter-manager/discussions/168 Reported by: Aoba Dai (in freebsd-users-jp ML) Tested by: Aoba Dai MFH: 2022Q3 (cherry picked from commit a5e4acb365ad6e78b9dc40107ef5dccf3863bb20) --- mail/milter-manager/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mail/milter-manager/Makefile b/mail/milter-manager/Makefile index 19fc2fce4452..83af2354b418 100644 --- a/mail/milter-manager/Makefile +++ b/mail/milter-manager/Makefile @@ -2,6 +2,7 @@ PORTNAME= milter-manager DISTVERSION= 2.1.6 +PORTREVISION= 1 CATEGORIES= mail ruby MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -13,7 +14,8 @@ LICENSE_COMB= multi BUILD_DEPENDS= rubygem-gio2>0:devel/rubygem-gio2 LIB_DEPENDS= libev.so:devel/libev -RUN_DEPENDS= rubygem-gio2>0:devel/rubygem-gio2 +RUN_DEPENDS= rubygem-gio2>0:devel/rubygem-gio2 \ + rubygem-rexml>0:textproc/rubygem-rexml USES= compiler:c++11-lang gettext gmake gnome libtool pathfix \ pkgconfig @@ -43,6 +45,5 @@ post-patch: ${REINPLACE_CMD} -e "s#\$$(datadir)/@PACKAGE@#${DATADIR}#" \ -e "s#\$$(datarootdir)/\$$(PACKAGE)#${DATADIR}#" {} + @${REINPLACE_CMD} -e "s#\\\\\$$(pkgdatadir)/sample#${EXAMPLESDIR}#" ${WRKSRC}/configure - @${RM} -r ${WRKSRC}/binding/ruby/glib-2.2.5 .include