ENV: Use /usr/X11 instead of symlink

This commit is contained in:
Adam Vandenberg 2011-04-18 10:25:51 -07:00
parent 5a10cc8e76
commit 90bacc913f

View File

@ -39,11 +39,11 @@ module HomebrewEnvExtension
# don't react properly to that.
self['LD'] = self['CC']
# optimise all the way to eleven, references:
# Optimise all the way to eleven, references:
# http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
# http://forums.mozillazine.org/viewtopic.php?f=12&t=577299
# http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/i386-and-x86_002d64-Options.html
# we don't set, eg. -msse3 because the march flag does that for us
# We don't set, eg. -msse3 because the march flag does that for us:
# http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/i386-and-x86_002d64-Options.html
if MACOS_VERSION >= 10.6
case Hardware.intel_family
@ -206,10 +206,10 @@ Please take one of the following actions:
# There are some config scripts (e.g. freetype) here that should go in the path
prepend 'PATH', '/usr/X11/bin', ':'
# CPPFLAGS are the C-PreProcessor flags, *not* C++!
append 'CPPFLAGS', '-I/usr/X11R6/include'
append 'LDFLAGS', '-L/usr/X11R6/lib'
append 'CPPFLAGS', '-I/usr/X11/include'
append 'LDFLAGS', '-L/usr/X11/lib'
# CMake ignores the variables above
append 'CMAKE_PREFIX_PATH', '/usr/X11R6', ':'
append 'CMAKE_PREFIX_PATH', '/usr/X11', ':'
end
alias_method :libpng, :x11