diff options
| author | Adrian Pistol | 2014-09-01 17:29:24 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-02 15:33:10 +0100 |
| commit | 833eeeaf93bc9e8202b99f926e4f329a39ebdf14 (patch) | |
| tree | 4476573a71c7d4135484177fab40642fe8c01c8d /Library/Formula | |
| parent | c967a05b86d446dd7bc09b95c8c1c03729d5726a (diff) | |
| download | homebrew-833eeeaf93bc9e8202b99f926e4f329a39ebdf14.tar.bz2 | |
proxychains-ng: add universal option.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/proxychains-ng.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/proxychains-ng.rb b/Library/Formula/proxychains-ng.rb index 394e6402f..6b09ed871 100644 --- a/Library/Formula/proxychains-ng.rb +++ b/Library/Formula/proxychains-ng.rb @@ -7,8 +7,15 @@ class ProxychainsNg < Formula head 'https://github.com/rofl0r/proxychains-ng.git' + option :universal + def install - system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{prefix}/etc" + args=["--prefix=#{prefix}", "--sysconfdir=#{prefix}/etc"] + if build.universal? + ENV.universal_binary + args=args.unshift "--fat-binary" + end + system "./configure", *args system "make" system "make install" system "make install-config" |
