Changed X11R6 paths to X11
Fixed formulas referencing X11 via the X11R6 symlink to instead reference the path X11 should be at directly (in case the user doesn't have that symlink, like I didn't) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
b63b001a11
commit
d79ee8d163
6 changed files with 7 additions and 7 deletions
|
@ -30,7 +30,7 @@ class Openimageio < Formula
|
|||
"#define BOOST_FILESYSTEM_VERSION 2\n#include <boost/filesystem.hpp>"
|
||||
|
||||
# Add include path for libpng explicitly
|
||||
system "cmake src/ #{std_cmake_parameters} -DUSE_QT:BOOL=OFF -DEMBEDPLUGINS:BOOL=ON -DCMAKE_CXX_FLAGS=-I/usr/X11R6/include"
|
||||
system "cmake src/ #{std_cmake_parameters} -DUSE_QT:BOOL=OFF -DEMBEDPLUGINS:BOOL=ON -DCMAKE_CXX_FLAGS=-I/usr/X11/include"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -28,7 +28,7 @@ class Qt < Formula
|
|||
ENV.append "CXXFLAGS", "-fvisibility=hidden"
|
||||
args = ["-prefix", prefix,
|
||||
"-system-libpng", "-system-zlib",
|
||||
"-L/usr/X11R6/lib", "-I/usr/X11R6/include",
|
||||
"-L/usr/X11/lib", "-I/usr/X11/include",
|
||||
"-confirm-license", "-opensource",
|
||||
"-cocoa", "-fast" ]
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class SLang < Formula
|
|||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--with-png=/usr/X11R6"
|
||||
"--with-png=/usr/X11"
|
||||
ENV.j1
|
||||
system "make"
|
||||
system "make install"
|
||||
|
|
|
@ -12,7 +12,7 @@ class Scantailor < Formula
|
|||
depends_on 'libtiff'
|
||||
|
||||
def install
|
||||
system "cmake . #{std_cmake_parameters} -DPNG_INCLUDE_DIR=/usr/X11R6/include"
|
||||
system "cmake . #{std_cmake_parameters} -DPNG_INCLUDE_DIR=/usr/X11/include"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,8 +15,8 @@ class Tiff2png < Formula
|
|||
s.change_make_var! 'LIBTIFF', HOMEBREW_PREFIX+"lib"
|
||||
s.change_make_var! 'TIFFINC', HOMEBREW_PREFIX+"include"
|
||||
s.change_make_var! 'LIBJPEG', HOMEBREW_PREFIX+"lib"
|
||||
s.change_make_var! 'LIBPNG', '/usr/X11R6/lib'
|
||||
s.change_make_var! 'PNGINC', '/usr/X11R6/include'
|
||||
s.change_make_var! 'LIBPNG', '/usr/X11/lib'
|
||||
s.change_make_var! 'PNGINC', '/usr/X11/include'
|
||||
s.change_make_var! 'ZLIB', '/usr/lib'
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ class Zint < Formula
|
|||
|
||||
def install
|
||||
cd('build')
|
||||
system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix} -DCMAKE_C_FLAGS=-I/usr/X11R6/include"
|
||||
system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix} -DCMAKE_C_FLAGS=-I/usr/X11/include"
|
||||
system "make install"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue