Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
fmdiff: needs Xcode installed on >10.6
Browse files Browse the repository at this point in the history
Closes #49637.
  • Loading branch information
DomT4 committed Mar 20, 2016
1 parent e4815ac commit 05a73f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Formula/fmdiff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ class Fmdiff < Formula
sha256 "af27122257b358518d38a86d8bdc1242b17e7f1fe6e5e08dc7b7a8a3b1151148" => :mavericks
end

# Needs FileMerge.app, which has been part of Xcode since Xcode 4 (OS X 10.7)
# Prior to that it was included in the Developer Tools package.
# "make" has logic for checking both possibilities.
depends_on :xcode if MacOS.version >= :lion

def install
system "make"
system "make", "DESTDIR=#{bin}", "install"
Expand Down

0 comments on commit 05a73f4

Please sign in to comment.