aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pg_top.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/pg_top.rb b/Library/Formula/pg_top.rb
index fb1ddebb5..ee9347eb9 100644
--- a/Library/Formula/pg_top.rb
+++ b/Library/Formula/pg_top.rb
@@ -2,14 +2,15 @@ require 'formula'
class PgTop < Formula
homepage 'http://ptop.projects.postgresql.org/'
- url 'http://pgfoundry.org/frs/download.php/1781/pg_top-3.6.2.tar.gz'
- sha1 'c165a5b09ab961bf98892db94b307e31ac0cf832'
+ url 'http://pgfoundry.org/frs/download.php/3504/pg_top-3.7.0.tar.bz2'
+ sha1 '377518d95d65011b984d23fd87fb3cc91aaa1afd'
depends_on :postgresql
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
+ system "echo '#define HAVE_DECL_STRLCPY 1' >> config.h" if MacOS.version >= :mavericks
system "make install"
end
end