Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Install | Version |
| ----------------------------------------------- | :-----: |
| `brew install maelvls/amc/auto-multiple-choice` | 1.5.0 |
| `brew install FMuro/amc/auto-multiple-choice` | 1.5.0 |

| macOS version | Support | Prebuilt binaries (bottles) |
|-----------------------------------|:-------:|:---------------------------:|
Expand Down
4 changes: 2 additions & 2 deletions auto-multiple-choice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AutoMultipleChoice < Formula
depends_on "libx11"
depends_on "netpbm"
depends_on "opencv" # vendored Pango, stuck at v1.42.4
depends_on "openssl@1.1" # required by Net::SSLeay
depends_on "openssl@3" # required by Net::SSLeay
depends_on "perl"
depends_on "poppler"
depends_on "qpdf"
Expand Down Expand Up @@ -453,7 +453,7 @@ def install
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["gobject-introspection"].lib}/pkgconfig" # Same
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["amc-pango"].lib}/pkgconfig" # for Pango & AMC-buildpdf

ENV["OPENSSL_PREFIX"] = Formula["openssl@1.1"].prefix.to_s
ENV["OPENSSL_PREFIX"] = Formula["openssl@3"].prefix.to_s
ENV["PERL_MM_OPT"] = "INSTALL_BASE=#{libexec}" # for cpan (Makefile.PL)
ENV["PERL_MB_OPT"] = "--install_base '#{libexec}'" # for cpan (Build.PL)
ENV["PERL_MM_USE_DEFAULT"] = "1" # for always saying "yes" in Makefile.PL
Expand Down