diff options
| author | Adam Vandenberg | 2009-09-21 20:55:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2009-09-21 20:55:41 -0700 |
| commit | 7d19be07896a902c9db5b46b432551d62a084cfb (patch) | |
| tree | 4363f8953303d4cde4723d642aa6f8dab4a44f79 /Library | |
| parent | 7a64bce05da0f1ad83f6e0c6b65c3bac21a4fe73 (diff) | |
| download | homebrew-7d19be07896a902c9db5b46b432551d62a084cfb.tar.bz2 | |
Rename :libpng to :x11 and alias.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brewkit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb index 37f2adbab..be22ca675 100644 --- a/Library/Homebrew/brewkit.rb +++ b/Library/Homebrew/brewkit.rb @@ -133,12 +133,12 @@ module HomebrewEnvExtension def libxml2 append_to_cflags ' -I/usr/include/libxml2' end - # TODO rename or alias to x11 - def libpng + def x11 # CPPFLAGS are the C-PreProcessor flags, *not* C++! append 'CPPFLAGS', '-I/usr/X11R6/include' append 'LDFLAGS', '-L/usr/X11R6/lib' end + alias_method :libpng, :x11 # we've seen some packages fail to build when warnings are disabled! def enable_warnings remove_from_cflags '-w' |
