mailutils 3.0
Closes #6686. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
a0d2ab1247
commit
20c7b5901b
1 changed files with 21 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
||||||
class Mailutils < Formula
|
class Mailutils < Formula
|
||||||
desc "Swiss Army knife of email handling"
|
desc "Swiss Army knife of email handling"
|
||||||
homepage "http://mailutils.org/"
|
homepage "http://mailutils.org/"
|
||||||
url "https://ftpmirror.gnu.org/mailutils/mailutils-2.2.tar.gz"
|
url "https://ftpmirror.gnu.org/mailutils/mailutils-3.0.tar.gz"
|
||||||
mirror "https://ftp.gnu.org/gnu/mailutils/mailutils-2.2.tar.gz"
|
mirror "https://ftp.gnu.org/gnu/mailutils/mailutils-3.0.tar.gz"
|
||||||
sha256 "97591debcd32ac1f4c4d16eaa8f21690d9dfefcb79e29bd293871d57c4a5e05d"
|
sha256 "41e5a1e9b1da1efd184b4cb3ed8e88bb3013ff09f9774b15a65253ff31db2f9f"
|
||||||
revision 2
|
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
sha256 "bdc449caa3a5fc24e634838c04580c91534f5e33513c390d2d0f1005492ecb29" => :sierra
|
sha256 "bdc449caa3a5fc24e634838c04580c91534f5e33513c390d2d0f1005492ecb29" => :sierra
|
||||||
|
@ -15,6 +14,9 @@ class Mailutils < Formula
|
||||||
|
|
||||||
depends_on "gnutls"
|
depends_on "gnutls"
|
||||||
depends_on "gsasl"
|
depends_on "gsasl"
|
||||||
|
depends_on "readline"
|
||||||
|
|
||||||
|
patch :DATA
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Python breaks the build (2014-05-01)
|
# Python breaks the build (2014-05-01)
|
||||||
|
@ -22,10 +24,24 @@ class Mailutils < Formula
|
||||||
system "./configure", "--without-python",
|
system "./configure", "--without-python",
|
||||||
"--disable-mh",
|
"--disable-mh",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
system "make", "install"
|
system "make", "PYTHON_LIBS=-undefined dynamic_lookup", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system "#{bin}/movemail", "--version"
|
system "#{bin}/movemail", "--version"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
__END__
|
||||||
|
diff --git a/libmailutils/sockaddr/str.c b/libmailutils/sockaddr/str.c
|
||||||
|
index e5bd5a1..6de2647 100644
|
||||||
|
--- a/libmailutils/sockaddr/str.c
|
||||||
|
+++ b/libmailutils/sockaddr/str.c
|
||||||
|
@@ -25,6 +25,7 @@
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <mailutils/sockaddr.h>
|
||||||
|
#include <mailutils/errno.h>
|
||||||
|
|
Loading…
Reference in a new issue