Skip to content

Commit

Permalink
extra-cmake-modules: build an :all bottle
Browse files Browse the repository at this point in the history
There are a few stray `/usr/local` references that can point to
HOMEBREW_PREFIX instead.
  • Loading branch information
carlocab committed Sep 20, 2024
1 parent be085f7 commit 4b08faf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/e/extra-cmake-modules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def install
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"

# Ensure uniform bottles.
inreplace_files = %w[prefix.sh.cmake prefix.sh.fish.cmake].map { |f| share/"ECM/kde-modules"/f }
inreplace inreplace_files, "/usr/local", HOMEBREW_PREFIX
end

test do
Expand Down

0 comments on commit 4b08faf

Please sign in to comment.