aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGeorge Kulakowski2011-02-20 14:23:47 -0500
committerAdam Vandenberg2011-02-22 09:31:46 -0800
commit94517e223e2a7a957878f6d8997195fb5e68ea62 (patch)
tree34d3b109689dbda1596cd1c803297bbd6fda07e9 /Library
parent2430dc7324572af3d1d6f9e0373d0247d3cd4316 (diff)
downloadhomebrew-94517e223e2a7a957878f6d8997195fb5e68ea62.tar.bz2
Fix libmpq download strategy
The website and url for this formula have a bad certificate. The fix is to use the Unsafe strategy. However, that is commented as undesirable. I suppose the alternatives would be finding an alternate download location or removing the formula. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libmpq.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/libmpq.rb b/Library/Formula/libmpq.rb
index 752db005f..ce452c4ee 100644
--- a/Library/Formula/libmpq.rb
+++ b/Library/Formula/libmpq.rb
@@ -1,13 +1,17 @@
require 'formula'
class Libmpq <Formula
- url 'https://libmpq.org/download/libmpq-0.4.2.tar.bz2'
- homepage 'https://libmpq.org'
+ # Website currently has a bad SSL cert
+ url 'https://libmpq.org/download/libmpq-0.4.2.tar.bz2',
+ :using => CurlUnsafeDownloadStrategy
+
md5 '54ec039b9654ba1662485e1bc9682850'
+ homepage 'https://libmpq.org'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}", "--mandir=#{man}"
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"
system "make install"
end
end