Skip to content

Commit

Permalink
vorbis-tools: fix MacOS references.
Browse files Browse the repository at this point in the history
Needed after Homebrew/brew#16306.
  • Loading branch information
MikeMcQuaid committed Dec 14, 2023
1 parent 95548f2 commit 0f69985
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/v/vorbis-tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ class VorbisTools < Formula
end

def install
# Prevent linkage with Homebrew Curl on macOS because of `using: :homebrew_curl` above.
if OS.mac?
# Prevent linkage with Homebrew Curl on macOS because of `using: :homebrew_curl` above.
ENV.remove "HOMEBREW_DEPENDENCIES", "curl"
ENV.remove "HOMEBREW_INCLUDE_PATHS", Formula["curl"].opt_include
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["curl"].opt_lib
end

# Workaround for Xcode 14 ld.
system "autoreconf", "--force", "--install", "--verbose" if MacOS.version >= :monterey
# Workaround for Xcode 14 ld.
system "autoreconf", "--force", "--install", "--verbose" if MacOS.version >= :monterey
end

# Fix compile with newer Clang
ENV.append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools.clang_build_version >= 1403
Expand Down

0 comments on commit 0f69985

Please sign in to comment.