diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild similarity index 81% rename from dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild rename to dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild index 1c97407cc1..46ccb1fad3 100644 --- a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild +++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,13 @@ src_test() { emake test } +src_prepare() { + default + + sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \ + || die "Cannot fix doc location to follow Gentoo/FHS guidelines" +} + src_install() { emake DESTDIR="${D}" PREFIX="/usr" install }