From 1c377c24cfbf5b759f29b49f8fd81ab7ee5dc71c Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 17 Jul 2015 06:23:22 +0900 Subject: [PATCH] pcre: fix HEAD build. Closes Homebrew/homebrew#41793. Signed-off-by: Mike McQuaid --- Formula/pcre.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Formula/pcre.rb b/Formula/pcre.rb index 4538b2a191..8323699e9b 100644 --- a/Formula/pcre.rb +++ b/Formula/pcre.rb @@ -5,7 +5,13 @@ class Pcre < Formula mirror "https://www.mirrorservice.org/sites/downloads.sourceforge.net/p/pc/pcre/pcre/8.37/pcre-8.37.tar.bz2" sha256 "51679ea8006ce31379fb0860e46dd86665d864b5020fc9cd19e71260eef4789d" - head "svn://vcs.exim.org/pcre/code/trunk" + head do + url "svn://vcs.exim.org/pcre/code/trunk" + + depends_on "automake" => :build + depends_on "autoconf" => :build + depends_on "libtool" => :build + end bottle do cellar :any @@ -24,6 +30,7 @@ class Pcre < Formula def install ENV.universal_binary if build.universal? + system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-utf8",