--- msgpack-1.3.3.ebuild        2020-06-13 08:28:00.023541920 +0200
+++ msgpack-1.3.3-r1.ebuild     2021-01-31 09:51:25.856505887 +0100
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,10 @@
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
 
-inherit multilib ruby-fakegem
+RUBY_FAKEGEM_EXTENSIONS=(ext/msgpack/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/msgpack"
+
+inherit ruby-fakegem
 
 DESCRIPTION="Binary-based efficient data interchange format for ruby
binding"
 HOMEPAGE="https://msgpack.org/";
@@ -26,16 +29,3 @@
 
        sed -i -e '/git ls-files/d' msgpack.gemspec || die
 }
-
-each_ruby_configure() {
-       ${RUBY} -Cext/${PN} extconf.rb || die "Configuration of
extension failed."
-
-       # rb_num2int is not inlined on 32 bit arches but also not
explicitly
-       # defined, bug 582968
-       sed -i -e 's:-Wl,--no-undefined::' ext/${PN}/Makefile || die
-}
-
-each_ruby_compile() {
-       emake V=1 -Cext/${PN}
-       cp ext/${PN}/msgpack$(get_modname) lib/${PN} || die "Unable to
install msgpack library."
-}

Attachment: signature.asc
Description: This is a digitally signed message part



Reply via email to