Skip to content

Commit

Permalink
smlnj: fix build on macOS 10.13
Browse files Browse the repository at this point in the history
Closes #18833.

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
fxcoudert committed Oct 2, 2017
1 parent 04917d5 commit 2c0ba97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/smlnj.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ def install
s.gsub! "/usr/include", "#{MacOS.sdk_path}/usr/include" unless MacOS::CLT.installed?
end

# Make the configure program recognize macOS 10.13. Reported upstream:
# http://smlnj-gforge.cs.uchicago.edu/tracker/index.php?func=detail&aid=187&group_id=33&atid=215
inreplace root/"config/_arch-n-opsys", "16*) OPSYS=darwin", "1*) OPSYS=darwin"

cd root do
system "config/install.sh"
end
Expand Down

0 comments on commit 2c0ba97

Please sign in to comment.