diff options
| author | Jack Nagel | 2012-08-12 12:58:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:01 -0500 |
| commit | a09d983b0beabffe5e701c97304da164a10abc48 (patch) | |
| tree | 749703080db46cde5e44484106981fb3b39593e1 /Library | |
| parent | f67f015ed1fc69092dc92d594b7fa68c6a6ad818 (diff) | |
| download | homebrew-a09d983b0beabffe5e701c97304da164a10abc48.tar.bz2 | |
pixman: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pixman.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/pixman.rb b/Library/Formula/pixman.rb index 5ed27ffe2..3d9503534 100644 --- a/Library/Formula/pixman.rb +++ b/Library/Formula/pixman.rb @@ -11,6 +11,8 @@ class Pixman < Formula "Apple provides an outdated version of libpixman in its X11 distribution." \ if MacOS::X11.installed? + option :universal + fails_with :llvm do build 2336 cause <<-EOS.undent @@ -20,12 +22,8 @@ class Pixman < Formula EOS end - def options - [["--universal", "Build a universal binary."]] - end - def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? args = %W[--disable-dependency-tracking --disable-gtk |
