Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id EA8C67A0F3 for ; Sat, 22 Apr 2017 18:29:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9D4DC84DC4; Sat, 22 Apr 2017 18:29:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2E44984DBA for ; Sat, 22 Apr 2017 18:29: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 Tu917cU1iO9K for ; Sat, 22 Apr 2017 18:29:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8373E84CE1 for ; Sat, 22 Apr 2017 18:29:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7A437FBE4; Sat, 22 Apr 2017 18:29:31 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1492885771253150" MIME-Version: 1.0 Date: Sat, 22 Apr 2017 18:29:31 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/lang/ruby To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20170422182931.7A437FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1492885771253150 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Sat Apr 22 18:29:31 UTC 2017 Modified Files: pkgsrc/lang/ruby: rubyversion.mk Log Message: Add RUBY_VERSIONS_SUPPORTED, versions supported by pkgsrc. (It should be commited before remove ruby18.) To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 pkgsrc/lang/ruby/rubyversion.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1492885771253150 Content-Disposition: inline Content-Length: 1211 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ruby/rubyversion.mk diff -u pkgsrc/lang/ruby/rubyversion.mk:1.172 pkgsrc/lang/ruby/rubyversion.mk:1.173 --- pkgsrc/lang/ruby/rubyversion.mk:1.172 Sun Apr 9 15:57:00 2017 +++ pkgsrc/lang/ruby/rubyversion.mk Sat Apr 22 18:29:31 2017 @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.172 2017/04/09 15:57:00 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.173 2017/04/22 18:29:31 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -42,7 +42,7 @@ # The Ruby versions that are acceptable for the package. # # Possible values: 18 21 22 23 -# Default: 21 22 23 +# Default: 23 22 21 # # RUBY_NOVERSION # If "Yes", the package dosen't depend on any version of Ruby, such @@ -253,9 +253,16 @@ RUBY_RDOC_PKGSRC_VERS= 4.2.2 # RUBY_VERSION_DEFAULT?= 23 +# supported Ruby's version +RUBY_VERSIONS_SUPPORTED= 23 22 21 18 + RUBY_VERSIONS_ACCEPTED?= 23 22 21 RUBY_VERSIONS_INCOMPATIBLE?= +.if empty(RUBY_VERSIONS_SUPPORTED:M${RUBY_VERSION_DEFAULT}) +.error Unsuported RUBY_VERSION_DEFAULT: ${RUBY_VERSION_DEFAULT} +.endif + .for rv in ${RUBY_VERSIONS_ACCEPTED} . if empty(RUBY_VERSIONS_INCOMPATIBLE:M${rv}) _RUBY_VERSIONS_ACCEPTED+= ${rv} --_----------=_1492885771253150--