diff options
| -rw-r--r-- | Library/Formula/mcrypt.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/mcrypt.rb b/Library/Formula/mcrypt.rb index 14908eacc..60d632048 100644 --- a/Library/Formula/mcrypt.rb +++ b/Library/Formula/mcrypt.rb @@ -5,12 +5,10 @@ class Mcrypt < Formula homepage 'http://mcrypt.sourceforge.net' md5 '0821830d930a86a5c69110837c55b7da' - def options - [["--universal", "Build a universal binary."]] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" |
