File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Old config.guess isn't arm64-aware. Pull a new one in from automake.
2
+ build_package_freshen_automake_config() {
3
+ {
4
+ mv tool/config.guess tool/config.guess.dist
5
+ mv tool/config.sub tool/config.sub.dist
6
+ } >&4 2>&1
7
+ }
8
+
9
+ # Suppress warnings we aren't going to address so they don't flood build output"
10
+ export RUBY_CFLAGS="-Wno-implicit-function-declaration -Wno-compound-token-split-by-macro"
11
+
12
+ # M1-compatible OpenSSL 1.0 from https://github.com/basecamp/homebrew-dev
13
+ brew install basecamp/dev/
[email protected]
14
+ openssl_prefix_path="$(brew --prefix basecamp/dev/
[email protected] )"
15
+ package_option ruby configure --with-openssl-dir="$openssl_prefix_path"
16
+ export PKG_CONFIG_PATH="$openssl_prefix_path/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
17
+
18
+ package_option ruby configure --with-out-ext=tk --disable-install-doc
19
+ install_package "ruby-2.3.3" "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2#882e6146ed26c6e78c02342835f5d46b86de95f0dc4e16543294bc656594cc5b" freshen_automake_config ldflags_dirs standard verify_openssl
Original file line number Diff line number Diff line change
1
+ # Old config.guess isn't arm64-aware. Pull a new one in from automake.
2
+ build_package_freshen_automake_config() {
3
+ {
4
+ mv tool/config.guess tool/config.guess.dist
5
+ mv tool/config.sub tool/config.sub.dist
6
+ } >&4 2>&1
7
+ }
8
+
9
+ # Suppress warnings we aren't going to address so they don't flood build output"
10
+ export RUBY_CFLAGS="-Wno-implicit-function-declaration -Wno-compound-token-split-by-macro"
11
+
12
+ # M1-compatible OpenSSL 1.0 from https://github.com/basecamp/homebrew-dev
13
+ brew install basecamp/dev/
[email protected]
14
+ openssl_prefix_path="$(brew --prefix basecamp/dev/
[email protected] )"
15
+ package_option ruby configure --with-openssl-dir="$openssl_prefix_path"
16
+ export PKG_CONFIG_PATH="$openssl_prefix_path/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
17
+
18
+ package_option ruby configure --with-out-ext=tk --disable-install-doc
19
+ install_package "ruby-2.3.8" "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2#4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c" freshen_automake_config ldflags_dirs standard verify_openssl
You can’t perform that action at this time.
0 commit comments