aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pygobject.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/pygobject.rb b/Library/Formula/pygobject.rb
index 786d9a67b..bebd45cde 100644
--- a/Library/Formula/pygobject.rb
+++ b/Library/Formula/pygobject.rb
@@ -9,17 +9,15 @@ class Pygobject < Formula
depends_on 'gobject-introspection'
depends_on 'gtk+'
+ option :universal
+
# https://bugzilla.gnome.org/show_bug.cgi?id=668522
def patches
"http://git.gnome.org/browse/pygobject/patch/gio/gio-types.defs?id=42d01f060c5d764baa881d13c103d68897163a49"
end
- def options
- [["--universal", "Builds a universal binary"]]
- end
-
def install
- ENV.universal_binary if ARGV.build_universal?
+ ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-introspection"