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