summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild b/dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild
index 7ed501bd6700..227739a0159b 100644
--- a/dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild
+++ b/dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild
@@ -14,7 +14,7 @@ RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb)
inherit ruby-fakegem
DESCRIPTION="ruby shadow bindings"
-HOMEPAGE="https://github.com/apalmblad/ruby-shadow http://ttsky.net"
+HOMEPAGE="https://github.com/apalmblad/ruby-shadow"
LICENSE="|| ( public-domain Unlicense )"
SLOT="0"
@@ -22,3 +22,8 @@ KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
IUSE=""
PATCHES=( "${FILESDIR}/${P}-ruby32.patch" )
+
+all_ruby_prepare() {
+ sed -e '16i$CFLAGS += ENV["CFLAGS"]' \
+ -i extconf.rb || die
+}