mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(ruby-lang.org) (#4875)
* fix(ruby-lang.org) it appears there are a few hardcoded paths from ci that made it into the packaged rbconfig.rb. this breaks installation of gems that require native compilation. so, lets patch that up * fix(ruby-lang.org): actually, don't use brewkit stubs for install & cc * fix(ruby): make this a little more explicit
This commit is contained in:
parent
f0bf8f9b4a
commit
186ee41804
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ build:
|
||||||
- run: sed -i.bak
|
- run: sed -i.bak
|
||||||
-e 's|$(DESTDIR){{prefix}}|$(topdir)|g'
|
-e 's|$(DESTDIR){{prefix}}|$(topdir)|g'
|
||||||
-e 's|CONFIG\["topdir"\] = .*|CONFIG\["topdir"\] = TOPDIR|g'
|
-e 's|CONFIG\["topdir"\] = .*|CONFIG\["topdir"\] = TOPDIR|g'
|
||||||
|
-e 's|CONFIG\["INSTALL"\] =.*|CONFIG\["INSTALL"\] = "/usr/bin/install"|g'
|
||||||
|
-e 's|CONFIG\["MJIT_CC"\] =.*|CONFIG\["MJIT_CC"\] = "/usr/bin/cc"|g'
|
||||||
rbconfig.rb
|
rbconfig.rb
|
||||||
working-directory: ${{prefix}}/lib/ruby/{{version.marketing}}.0
|
working-directory: ${{prefix}}/lib/ruby/{{version.marketing}}.0
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue