summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-06 11:30:08 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-06 11:30:22 +0100
commit9446a455a36613fb1b8e5ea2a67be424f86308d6 (patch)
treeabf3523af9cfc5cfc4f5439fe9c6f2765ebe6073 /dev-ruby
parentdev-ruby/ruby-shadow: enable ruby32 (diff)
downloadgentoo-9446a455a36613fb1b8e5ea2a67be424f86308d6.tar.gz
gentoo-9446a455a36613fb1b8e5ea2a67be424f86308d6.tar.bz2
gentoo-9446a455a36613fb1b8e5ea2a67be424f86308d6.zip
dev-ruby/ruby-shadow: respect CFLAGS
Closes: https://bugs.gentoo.org/723956 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-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
+}