Skip to content

Commit

Permalink
swift: Remove inreplace @@HOMEBREW_PREFIX@@ in favour of built in fun…
Browse files Browse the repository at this point in the history
…ctionality

This is a follow up to #195569 and
Homebrew/brew#18613. The latter has been available since 4.4.3.
  • Loading branch information
pkryger committed Nov 1, 2024
1 parent 1064628 commit 378e17d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Formula/s/swift.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,6 @@ def install
], '"$ORIGIN"', "\"$ORIGIN:#{ENV["HOMEBREW_RPATH_PATHS"]}\""
end

# Paired with llbuild patch
inreplace workspace/"llbuild/Package.swift", "@@HOMEBREW_PREFIX@@", HOMEBREW_PREFIX, audit_result: false

extra_cmake_options = if OS.mac?
%W[
-DSQLite3_INCLUDE_DIR=#{MacOS.sdk_for_formula(self).path}/usr/include
Expand Down

0 comments on commit 378e17d

Please sign in to comment.