Skip to content
Browse files

boost149: fix audit warning

  • Loading branch information...
1 parent 1bb9690 commit 48ee59aa80bc6c8825bc4ec5637dab78b77f5e17 @adamv adamv committed
Showing with 1 addition and 5 deletions.
  1. +1 −5 Library/Formula/boost149.rb
View
6 Library/Formula/boost149.rb
@@ -1,9 +1,5 @@
require 'formula'
-def needs_universal_python?
- ARGV.build_universal? and not ARGV.include? "--without-python"
-end
-
class UniversalPython < Requirement
def message; <<-EOS.undent
A universal build was requested, but Python is not a universal build
@@ -29,7 +25,7 @@ class Boost149 < Formula
option 'without-python', 'Build without Python'
option 'with-icu', 'Build regexp engine with icu support'
- depends_on UniversalPython.new if needs_universal_python?
+ depends_on UniversalPython.new if build.universal? and not build.include? "without-python"
depends_on "icu4c" if build.include? "with-icu"
fails_with :llvm do

0 comments on commit 48ee59a

Please sign in to comment.
Something went wrong with that request. Please try again.