pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-fiddle devel/ruby-fiddle: add support for R...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11a279f3eb9d
branches:  trunk
changeset: 446921:11a279f3eb9d
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Feb 14 14:34:54 2021 +0000

description:
devel/ruby-fiddle: add support for Ruby 3.0

Add Ruby 3.0 (really fiddle 1.0.0) support.

diffstat:

 devel/ruby-fiddle/Makefile |  7 ++++++-
 devel/ruby-fiddle/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r c728890e5180 -r 11a279f3eb9d devel/ruby-fiddle/Makefile
--- a/devel/ruby-fiddle/Makefile        Sun Feb 14 14:32:41 2021 +0000
+++ b/devel/ruby-fiddle/Makefile        Sun Feb 14 14:34:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/12/28 08:20:47 taca Exp $
+# $NetBSD: Makefile,v 1.23 2021/02/14 14:34:54 taca Exp $
 #
 
 DISTNAME=              ${RUBY_DISTNAME}
@@ -17,7 +17,12 @@
 WRKSRC=                        ${RUBY_WRKSRC}/ext/fiddle
 MAKE_ENV+=             top_srcdir=../..
 
+PLIST_VARS+=   fiddle
+
 .include "../../lang/ruby/modules.mk"
+.if ${RUBY_FIDDLE_VERSION} != "1.0.0"
+PLIST.fiddle=  yes
+.endif
 .include "../../lang/ruby/Makefile.common"
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c728890e5180 -r 11a279f3eb9d devel/ruby-fiddle/PLIST
--- a/devel/ruby-fiddle/PLIST   Sun Feb 14 14:32:41 2021 +0000
+++ b/devel/ruby-fiddle/PLIST   Sun Feb 14 14:34:54 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/04/27 17:05:22 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/02/14 14:34:54 taca Exp $
 ${RUBY_VENDORLIB}/fiddle.rb
 ${RUBY_VENDORLIB}/fiddle/closure.rb
 ${RUBY_VENDORLIB}/fiddle/cparser.rb
@@ -8,4 +8,5 @@
 ${RUBY_VENDORLIB}/fiddle/struct.rb
 ${RUBY_VENDORLIB}/fiddle/types.rb
 ${RUBY_VENDORLIB}/fiddle/value.rb
+${PLIST.fiddle}${RUBY_VENDORLIB}/fiddle/version.rb
 ${RUBY_VENDORARCHLIB}/fiddle.${RUBY_DLEXT}



Home | Main Index | Thread Index | Old Index