projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ceb013
)
dev-ruby/hiredis: use proper tmp directory for tests
author
Hans de Graaff
<graaff@gentoo.org>
Sun, 22 Apr 2018 04:38:53 +0000
(06:38 +0200)
committer
Hans de Graaff
<graaff@gentoo.org>
Sun, 22 Apr 2018 09:36:47 +0000
(11:36 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-ruby/hiredis/hiredis-0.6.1.ebuild
patch
|
blob
|
history
diff --git
a/dev-ruby/hiredis/hiredis-0.6.1.ebuild
b/dev-ruby/hiredis/hiredis-0.6.1.ebuild
index 629b022d96581a074b096909254858017d6d4443..c41f5f6a8a25fb4c28e3419518b821661b53e89f 100644
(file)
--- a/
dev-ruby/hiredis/hiredis-0.6.1.ebuild
+++ b/
dev-ruby/hiredis/hiredis-0.6.1.ebuild
@@
-28,6
+28,10
@@
RUBY_S="${MY_P}"
PATCHES=( "${FILESDIR}/${P}-unvendor-hiredis.patch" )
+all_ruby_prepare() {
+ sed -i -e 's:/tmp/:'${T}'/:' test/connection_test.rb || die
+}
+
each_ruby_configure() {
CC=$(tc-getCC) ${RUBY} -Cext/hiredis_ext extconf.rb || die
}