Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 792451A9239 for ; Tue, 28 Dec 2021 00:03:51 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9F84684E6E; Tue, 28 Dec 2021 00:03:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 22DC084D41 for ; Tue, 28 Dec 2021 00:01:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id TCBQasFeTO6o for ; Tue, 28 Dec 2021 00:01:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6A0E684CE0 for ; Tue, 28 Dec 2021 00:01:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 62C0FFAEC; Tue, 28 Dec 2021 00:01:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1640649691225550" MIME-Version: 1.0 Date: Tue, 28 Dec 2021 00:01:31 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/textproc/ruby-nokogiri To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20211228000131.62C0FFAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1640649691225550 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Tue Dec 28 00:01:31 UTC 2021 Modified Files: pkgsrc/textproc/ruby-nokogiri: Makefile Log Message: textproc/ruby-nokogiri: reduce dependency Depends on devel/ruby-racc only on ruby26 since Ruby 2.7 and later contains racc as bundled gem. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 pkgsrc/textproc/ruby-nokogiri/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1640649691225550 Content-Disposition: inline Content-Length: 1342 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/ruby-nokogiri/Makefile diff -u pkgsrc/textproc/ruby-nokogiri/Makefile:1.65 pkgsrc/textproc/ruby-nokogiri/Makefile:1.66 --- pkgsrc/textproc/ruby-nokogiri/Makefile:1.65 Wed Dec 8 16:06:46 2021 +++ pkgsrc/textproc/ruby-nokogiri/Makefile Tue Dec 28 00:01:31 2021 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.65 2021/12/08 16:06:46 adam Exp $ +# $NetBSD: Makefile,v 1.66 2021/12/28 00:01:31 taca Exp $ DISTNAME= nokogiri-1.12.5 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= textproc MAINTAINER= tsutsui@NetBSD.org @@ -9,7 +9,6 @@ HOMEPAGE= https://nokogiri.org/ COMMENT= HTML, XML, SAX, and Reader parser with XPath and CSS selector support LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-racc>=1.4.0:../../devel/ruby-racc DEPENDS+= ${RUBY_PKGPREFIX}-mini_portile2>=2.6.1:../../misc/ruby-mini_portile2 USE_GCC_RUNTIME= yes @@ -23,6 +22,12 @@ OVERRIDE_GEMSPEC+= mini_portile2>=2.6.1 # XXX: work around bug in bootstrap-mk-files, remove when fixed MAKE_ENV.SunOS+= ARFLAGS=rcv +.include "../../lang/ruby/rubyversion.mk" +# Ruby 2.7 and later bundles racc +.if ${RUBY_VER} == "26" +DEPENDS+= ${RUBY_PKGPREFIX}-racc>=1.4.0:../../devel/ruby-racc +.endif + .include "../../devel/ruby-pkg-config/tool.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxslt/buildlink3.mk" --_----------=_1640649691225550--