Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmark: remove conflict and duplicate CMAKE_INSTALL_LIBDIR #199667

Merged
merged 2 commits into from
Dec 1, 2024
Merged
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: 0 additions & 2 deletions Formula/c/cmark-gfm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class CmarkGfm < Formula
depends_on "cmake" => :build
uses_from_macos "python" => :build

conflicts_with "cmark", because: "both install a `cmark.h` header"

def install
system "cmake", "-S", ".", "-B", "build",
"-DCMAKE_INSTALL_RPATH=#{rpath}",
Expand Down
6 changes: 1 addition & 5 deletions Formula/c/cmark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ class Cmark < Formula
depends_on "cmake" => :build
uses_from_macos "python" => :build

conflicts_with "cmark-gfm", because: "both install a `cmark.h` header"

def install
system "cmake", "-S", ".", "-B", "build",
"-DCMAKE_INSTALL_LIBDIR=lib",
*std_cmake_args
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end
Expand Down
Loading