From 30115decd07d36024945c99402300795fc6dd0b6 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 8 Jan 2012 16:00:58 +0000 Subject: Fix hardcoded path to temporary directory in specs. (Portage version: 2.1.10.41/cvs/Linux x86_64) --- dev-ruby/sfl/ChangeLog | 5 ++++- dev-ruby/sfl/sfl-2.1.ebuild | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'dev-ruby/sfl') diff --git a/dev-ruby/sfl/ChangeLog b/dev-ruby/sfl/ChangeLog index 1684efa71ded..e0c5605eb3aa 100644 --- a/dev-ruby/sfl/ChangeLog +++ b/dev-ruby/sfl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/sfl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/ChangeLog,v 1.1 2012/01/08 15:43:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/ChangeLog,v 1.2 2012/01/08 16:00:58 graaff Exp $ + + 08 Jan 2012; Hans de Graaff sfl-2.1.ebuild: + Fix hardcoded path to temporary directory in specs. *sfl-2.1 (08 Jan 2012) diff --git a/dev-ruby/sfl/sfl-2.1.ebuild b/dev-ruby/sfl/sfl-2.1.ebuild index a55b92ee4d16..0ddcc2385aa4 100644 --- a/dev-ruby/sfl/sfl-2.1.ebuild +++ b/dev-ruby/sfl/sfl-2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/sfl-2.1.ebuild,v 1.1 2012/01/08 15:43:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sfl/sfl-2.1.ebuild,v 1.2 2012/01/08 16:00:58 graaff Exp $ EAPI=4 USE_RUBY="ruby18 ruby19 ree18" @@ -22,3 +22,7 @@ KEYWORDS="~amd64" IUSE="" ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" + +all_ruby_prepare() { + sed -i -e "s:/tmp:${TMPDIR}:" spec/sfl_spec.rb || die +} -- cgit v1.2.3-65-gdbad