commit:     8a9b39731068f3bd50908b6890182822ba87aaba
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 07:25:16 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 07:25:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9b3973

dev-ruby/xmlrpc: avoid dependency on git, bug 604216

Avoid the need for a built-time dependency on dev-vcs/git.

Package-Manager: portage-2.3.0

 dev-ruby/xmlrpc/xmlrpc-0.2.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/xmlrpc/xmlrpc-0.2.1.ebuild 
b/dev-ruby/xmlrpc/xmlrpc-0.2.1.ebuild
index c66b687..3edf785 100644
--- a/dev-ruby/xmlrpc/xmlrpc-0.2.1.ebuild
+++ b/dev-ruby/xmlrpc/xmlrpc-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,4 +24,7 @@ IUSE=""
 
 all_ruby_prepare() {
        sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+       # Avoid dependency on git
+       sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
 }

Reply via email to