aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-11-16 09:26:47 -0600
committerMisty De Meo2012-11-16 09:52:59 -0600
commit9efc22b50108f19d2b7b1be53f37d4a005c567ab (patch)
treef82ac9d5ba2094cf945ba5c4538599142c5c2bc1 /Library
parentdb15976a8726fe2585241ab5b344119f09c09afc (diff)
downloadhomebrew-9efc22b50108f19d2b7b1be53f37d4a005c567ab.tar.bz2
ossp-uuid: mark keg-only
Apple ships a uuid.h, which isn't linked into /usr/include but which is used by some third-party libraries. Linking ossp-uuid results in software picking it up over Apple's version, causing breakage. Fixes #16077.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ossp-uuid.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ossp-uuid.rb b/Library/Formula/ossp-uuid.rb
index 189eb5f15..42beb3534 100644
--- a/Library/Formula/ossp-uuid.rb
+++ b/Library/Formula/ossp-uuid.rb
@@ -9,6 +9,9 @@ class OsspUuid < Formula
option :universal
option "32-bit"
+ # see https://github.com/mxcl/homebrew/issues/16077
+ keg_only "OS X provides a uuid.h which conflicts with ossp-uuid's header."
+
def install
if build.universal?
ENV.universal_binary