ncdd: use :shallow => false on HEAD

ncdc depends on `git describe` to set its version. This breaks[0] on a
shallow clone, so use :shallow => false.

[0] http://dev.yorhel.nl/ncdc/bug/76

Closes Homebrew/homebrew#38826.

Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
Vikrant Varma 2015-04-19 20:45:10 +05:30 committed by Xu Cheng
parent 22c5f8983a
commit 9deb5d4a91

View file

@ -15,7 +15,7 @@ class Ncdc < Formula
depends_on 'geoip' => :optional
head do
url "git://g.blicky.net/ncdc.git"
url "git://g.blicky.net/ncdc.git", :shallow => false
depends_on "autoconf" => :build
depends_on "automake" => :build