aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-25 13:38:12 -0500
committerJack Nagel2013-09-25 13:39:32 -0500
commitbcd66f0a4f2f295f5ef9e5162d409d3586a3f301 (patch)
tree2925050a0706f4fd3735c1de64284511924d7f3c /Library
parent1bd8309ff2cdaa65ec03e9cd1685aeae615b11f0 (diff)
downloadhomebrew-bcd66f0a4f2f295f5ef9e5162d409d3586a3f301.tar.bz2
libpng: move bottle block above options
Options are stored in the SoftwareSpec objects these days, so all specs must be declared before any options, including the bottle spec. This doesn't make a ton of sense because the bottle doesn't have options, but until the bottle is made into a property of SoftwareSpec itself (and that day is coming), this is what happens. Fixes #22654.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libpng.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/libpng.rb b/Library/Formula/libpng.rb
index f61cfaed6..e959723a4 100644
--- a/Library/Formula/libpng.rb
+++ b/Library/Formula/libpng.rb
@@ -5,16 +5,16 @@ class Libpng < Formula
url 'http://downloads.sf.net/project/libpng/libpng15/older-releases/1.5.14/libpng-1.5.14.tar.gz'
sha1 '67f20d69564a4a50204cb924deab029f11ad2d3c'
- keg_only :provided_pre_mountain_lion
-
- option :universal
-
bottle do
sha1 '5e7feb640d654df0c2ac072d86e46ce9df9eaeee' => :mountain_lion
sha1 'bbd94d671653943cf21314911978d90f5fb536df' => :lion
sha1 'fb685cfb8b37b883bf004ee7c9ca785d3435b155' => :snow_leopard
end
+ keg_only :provided_pre_mountain_lion
+
+ option :universal
+
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",