pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-fiddle



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Feb 14 14:34:54 UTC 2021

Modified Files:
        pkgsrc/devel/ruby-fiddle: Makefile PLIST

Log Message:
devel/ruby-fiddle: add support for Ruby 3.0

Add Ruby 3.0 (really fiddle 1.0.0) support.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/ruby-fiddle/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ruby-fiddle/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-fiddle/Makefile
diff -u pkgsrc/devel/ruby-fiddle/Makefile:1.22 pkgsrc/devel/ruby-fiddle/Makefile:1.23
--- pkgsrc/devel/ruby-fiddle/Makefile:1.22      Mon Dec 28 08:20:47 2020
+++ pkgsrc/devel/ruby-fiddle/Makefile   Sun Feb 14 14:34:54 2021
@@ -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 @@ EXTRACT_ELEMENTS=    ${RUBY_DISTNAME}/ext/f
 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"

Index: pkgsrc/devel/ruby-fiddle/PLIST
diff -u pkgsrc/devel/ruby-fiddle/PLIST:1.3 pkgsrc/devel/ruby-fiddle/PLIST:1.4
--- pkgsrc/devel/ruby-fiddle/PLIST:1.3  Thu Apr 27 17:05:22 2017
+++ pkgsrc/devel/ruby-fiddle/PLIST      Sun Feb 14 14:34:54 2021
@@ -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/pack.rb
 ${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