diff options
| author | Stian Eikeland | 2014-10-27 22:53:48 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-10-27 17:22:50 -0500 |
| commit | f75600e44dbeb2d87137e404711954f5c6b5093b (patch) | |
| tree | 9549d25aed35a1fabf8e545352a74d2abcef5ed9 /Library/Formula | |
| parent | d61492576ba673ce2f937bf0bf0d885bbb60e4fa (diff) | |
| download | homebrew-f75600e44dbeb2d87137e404711954f5c6b5093b.tar.bz2 | |
pcre 8.36
Closes #33654.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pcre.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/pcre.rb b/Library/Formula/pcre.rb index 1f24aa73e..46366da55 100644 --- a/Library/Formula/pcre.rb +++ b/Library/Formula/pcre.rb @@ -2,9 +2,9 @@ require 'formula' class Pcre < Formula homepage 'http://www.pcre.org/' - url 'https://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.bz2' - mirror 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.35.tar.bz2' - sha256 'a961c1c78befef263cc130756eeca7b674b4e73a81533293df44e4265236865b' + url 'https://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.bz2' + mirror 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.bz2' + sha256 'ef833457de0c40e82f573e34528f43a751ff20257ad0e86d272ed5637eb845bb' bottle do cellar :any @@ -21,12 +21,6 @@ class Pcre < Formula cause "Bus error in ld on SL 10.6.4" end - # Upstream patch to fix compilation with GCC 4.9 - patch do - url "http://bugs.exim.org/attachment.cgi?id=741" - sha1 "bad236cf67a7b42f0dc8d4ae05ed0260241320d1" - end - def install ENV.universal_binary if build.universal? @@ -45,4 +39,8 @@ class Pcre < Formula system "make test" system "make install" end + + test do + system "#{bin}/pcregrep", "regular expression", "#{prefix}/README" + end end |
