diff options
| author | Jay Soffian | 2014-03-16 12:59:56 -0400 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-03-16 11:43:04 -0700 | 
| commit | 7c08a032a65f11398849090ee78c3c866770da8e (patch) | |
| tree | f03b55101787ecb20fc977d847f234de575142cf /Library/Formula/openconnect.rb | |
| parent | 67c1c5335112f794350cccffffccbe94df4a507c (diff) | |
| download | homebrew-7c08a032a65f11398849090ee78c3c866770da8e.tar.bz2 | |
openconnect: simplify HEAD build.
Upstream accepted a couple patches that make it easier to build
openconnect under OS X. Let's take advantage of them.
Closes #27607.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/openconnect.rb')
| -rw-r--r-- | Library/Formula/openconnect.rb | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/openconnect.rb b/Library/Formula/openconnect.rb index 4716e369a..69c078894 100644 --- a/Library/Formula/openconnect.rb +++ b/Library/Formula/openconnect.rb @@ -32,10 +32,9 @@ class Openconnect < Formula      chmod 0755, "#{etc}/vpnc-script"      if build.head? -      ln_s cached_download/".git", ".git" -      cp "autogen.sh", "autogen_modified.sh" -      inreplace "autogen_modified.sh", /libtoolize/, "glibtoolize" -      system "./autogen_modified.sh" +      ENV["GIT_DIR"] = cached_download/".git" +      ENV["LIBTOOLIZE"] = "glibtoolize" +      system "./autogen.sh"      end      args = %W[  | 
