aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-18 10:25:51 -0700
committerAdam Vandenberg2011-04-18 10:25:51 -0700
commit637e8a1a3e61cbdcc78440f5aa3a2a63a6019d35 (patch)
tree6c2458cf301adf1197a983ee1e9e94d3abdc07da /Library
parent8903ed45cbe3db9fa3715b8dee62550b7f19f6c8 (diff)
downloadhomebrew-637e8a1a3e61cbdcc78440f5aa3a2a63a6019d35.tar.bz2
ENV: Use /usr/X11 instead of symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 0aa360504..790434d5d 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -39,12 +39,12 @@ 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
- # http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/i386-and-x86_002d64-Options.html
+ # 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
when :nehalem, :penryn, :core2
@@ -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