Gentoo Archives: gentoo-alt

From: Ramon van Alteren <ramon@××××××××××.nl>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] handling of newins mylib.so n ebuilds
Date: Tue, 08 Jun 2010 21:47:11
Message-Id: 20100608214646.GA45047@vanalteren.nl
1 Hi All,
2
3 I was looking at ebuild dev-ruby/json-1.4.3-r1 for my x64-macos prefix from
4 gentoo-x86 and it fails on the following snippet:
5
6 each_ruby_install() {
7 each_fakegem_install
8 if [[ $(basename ${RUBY}) != "jruby" ]]; then
9 ruby_fakegem_newins ext/json/ext/generator.so lib/json/ext/generator.so
10 ruby_fakegem_newins ext/json/ext/parser.so lib/json/ext/parser.so
11 fi
12 }
13
14 This obviously fails because my gcc-apple produced generator.bundle and
15 parser.bundle instead of the hardcoded .so 's
16
17 I imagine that this problem has been tackled before in other ebuilds but
18 couldn't find a good example.
19
20 What is the best approach to deal with constructs like this ?
21
22 Ramon

Replies

Subject Author
Re: [gentoo-alt] handling of newins mylib.so n ebuilds Jeremy Olexa <darkside@g.o>