diff options
| author | Jack Nagel | 2014-04-04 19:38:29 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-04 19:38:45 -0500 |
| commit | 39df30f55fe8dc876f9b1d07c485b3adda858410 (patch) | |
| tree | 4ef0dba1485507e9f2e30afbfbe1ca869328dbd7 /Library/Formula | |
| parent | ba9c7ea3037741d6d4bf1414fdcb3bfef133a3db (diff) | |
| download | homebrew-39df30f55fe8dc876f9b1d07c485b3adda858410.tar.bz2 | |
vimpc: modernize autotools bootstrap
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/vimpc.rb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Library/Formula/vimpc.rb b/Library/Formula/vimpc.rb index 390841186..5be7335a3 100644 --- a/Library/Formula/vimpc.rb +++ b/Library/Formula/vimpc.rb @@ -8,9 +8,9 @@ class Vimpc < Formula head do url 'https://github.com/boysetsfrog/vimpc.git' - depends_on :autoconf - depends_on :automake - depends_on :libtool + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build end depends_on 'pkg-config' => :build @@ -18,11 +18,7 @@ class Vimpc < Formula depends_on 'pcre' def install - if build.head? - ENV['ACLOCAL_FLAGS'] = "-I #{HOMEBREW_PREFIX}/share/aclocal" - system "./autogen.sh" - end - + system "./autogen.sh" if build.head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
