You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
ruby-build: Disable Homebrew
This commit is contained in:
committed by
Renee Otten
parent
5951e2f461
commit
368f572646
@@ -4,6 +4,7 @@ PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup rbenv ruby-build 20250925 v
|
||||
revision 1
|
||||
github.tarball_from archive
|
||||
categories ruby
|
||||
license MIT
|
||||
@@ -24,4 +25,7 @@ checksums rmd160 5491d1ffe926a0fc4d7524f247a30895b556a9bd \
|
||||
use_configure no
|
||||
build {}
|
||||
destroot.cmd ./install.sh
|
||||
destroot.env PREFIX=${destroot}${prefix}
|
||||
destroot.env PREFIX=${destroot}${prefix}
|
||||
patchfiles patch-ruby-build-no-homebrew.diff
|
||||
|
||||
notes "This port patches ruby-build to ignore Homebrew formulae when looking for library dependencies."
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
--- bin/ruby-build.orig 2025-09-23 11:49:15
|
||||
+++ bin/ruby-build 2025-09-23 12:05:37
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
OLDIFS="$IFS"
|
||||
|
||||
+# Disable Homebrew.
|
||||
+brew() { false; }
|
||||
+
|
||||
# Have shell functions inherit the ERR trap.
|
||||
set -E
|
||||
|
||||
Reference in New Issue
Block a user