diff options
| author | Jack Nagel | 2011-09-06 23:43:52 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-09-06 23:46:01 -0500 |
| commit | b3ddf5355e5d5a3903447ba30c03a4a6ebf56ee5 (patch) | |
| tree | 2a38fe29a6bb565ebc2f35600c2f80ddf1f48648 /Library | |
| parent | e90b1ad12572c6707d0d727a9fee9c927ad4e319 (diff) | |
| download | homebrew-b3ddf5355e5d5a3903447ba30c03a4a6ebf56ee5.tar.bz2 | |
mg 20110905
This switches download site and homepage to mirror what other package
managers are using for mg. It appears that the previous URL (which is
now broken) is affiliated with this one, the portable version of the one
maintained in the OpenBSD ports tree.
Closes #6402.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mg.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/mg.rb b/Library/Formula/mg.rb index 7c71b5871..ec7a79883 100644 --- a/Library/Formula/mg.rb +++ b/Library/Formula/mg.rb @@ -1,13 +1,14 @@ require 'formula' class Mg < Formula - url 'http://pintday.org/hack/mg/mg-p-080818.tgz' - homepage 'http://pintday.org/hack/mg/' - md5 '5cdd46b226586306bde2dd5d47920d66' + url 'http://homepage.boetes.org/software/mg/mg-20110905.tar.gz' + homepage 'http://homepage.boetes.org/software/mg/' + md5 '2de35316fa8ebafe6003efaae70b723e' def install - system "make PREFIX=#{prefix}" - bin.mkpath # otherwise install copies 'mg' to 'bin' - system "make install PREFIX=#{prefix}" + # -Wno-error=unused-but-set-variable requires GCC 4.6+ + inreplace 'Makefile.in', '-Wno-error=unused-but-set-variable', '' + system "./configure" + system "make install prefix=#{prefix} mandir=#{man}" end end |
