aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-11 13:42:46 -0700
committerAdam Vandenberg2013-06-11 13:42:46 -0700
commit026ea6c9220a7115dd1cbbcef622d80404eb938a (patch)
tree44e7d950fb0a605607cf8d8783bc0fe6948798a9 /Library/Formula
parent9ec998f2d4ac188cd94f22c1fdfbeecb68133be9 (diff)
downloadhomebrew-026ea6c9220a7115dd1cbbcef622d80404eb938a.tar.bz2
opencolorio: reformat caveats, remove commented-out code
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/opencolorio.rb21
1 files changed, 5 insertions, 16 deletions
diff --git a/Library/Formula/opencolorio.rb b/Library/Formula/opencolorio.rb
index 4b4411176..46541006b 100644
--- a/Library/Formula/opencolorio.rb
+++ b/Library/Formula/opencolorio.rb
@@ -23,21 +23,6 @@ class Opencolorio < Formula
args << "-DOCIO_BUILD_DOCS=ON" if build.with? 'docs'
args << "-DCMAKE_VERBOSE_MAKEFILE=OFF"
- # CMake-2.8.7 + CLT + llvm + Lion => CMAKE_CXX_HAS_ISYSROOT "1"
- # CMake-2.8.7 + CLT + clang + Lion => CMAKE_CXX_HAS_ISYSROOT ""
- # CMake puts a malformed sysroot into CXX_FLAGS in flags.make with llvm.
- # Syntax like this gets added:
- # -isysroot /Some/Wrong/SDKs/path
- # which causes c++ includes not found when compiling with llvm.
- # https://github.com/imageworks/OpenColorIO/issues/224
- # The current workaround is that the SDK directory structure is mirrored
- # in the root directory, e.g.
- # Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include
- # /usr/include
- # So we just set the sysroot to /
-
- # args << "-DCMAKE_OSX_SYSROOT=/" if ENV.compiler == :llvm and MacOS.version >= :lion
-
# Python note:
# OCIO's PyOpenColorIO.so doubles as a shared library. So it lives in lib, rather
# than the usual HOMEBREW_PREFIX/lib/python2.7/site-packages per developer choice.
@@ -65,13 +50,17 @@ class Opencolorio < Formula
<<-EOS.undent
OpenColorIO requires several environment variables to be set.
You can source the following script in your shell-startup to do that:
+
#{HOMEBREW_PREFIX}/share/ocio/setup_ocio.sh
+
Alternatively the documentation describes what env-variables need set:
+
http://opencolorio.org/installation.html#environment-variables
+
You will require a config for OCIO to be useful. Sample configuration files
and reference images can be found at:
- http://opencolorio.org/downloads.html
+ http://opencolorio.org/downloads.html
EOS
end
end