Skip to content

Commit

Permalink
vim: use spec deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Sep 22, 2013
1 parent b92a307 commit f269832
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Formula/vim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ class Vim < Formula
url 'http://ftp.de.debian.org/debian/pool/main/v/vim/vim_7.4.027.orig.tar.gz'
sha1 '8d78c0cf545bf75cbcd5e3b709a7d03a568d256e'

head 'https://vim.googlecode.com/hg/'
head do
url 'https://vim.googlecode.com/hg/'
depends_on :hg => :build
end

# We only have special support for finding depends_on :python, but not yet for
# :ruby, :perl etc., so we use the standard environment that leaves the
Expand All @@ -26,7 +29,6 @@ class Vim < Formula
option "without-#{language}", "Build vim without #{language} support"
end

depends_on :hg => :build if build.head?
depends_on :python => :recommended

def install
Expand Down

0 comments on commit f269832

Please sign in to comment.