dev-ruby/hiredis: use proper tmp directory for tests

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Hans de Graaff
2018-04-22 06:38:53 +02:00
parent 6ceb013cd1
commit c3bf67f825

View File

@@ -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
}