Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b29b0a
commit 6661b5e
Showing
2 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
SUMMARY="Small but very powerful text-based mail client" | ||
DESCRIPTION="A text-based email client for Unix-like systems. \ | ||
It was originally written by Michael Elkins in 1995 and released \ | ||
under the GNU General Public License version 2 or any later version. | ||
The Mutt slogan is All mail clients suck. This one just sucks less." | ||
HOMEPAGE="http://www.mutt.org/" | ||
COPYRIGHT="1996-2016 Michael R. Elkins | ||
1996-2002 Brandon Long | ||
1997-2009 Thomas Roessler | ||
1998-2005 Werner Koch | ||
1999-2014 Brendan Cully | ||
1999-2002 Tommi Komulainen | ||
2000-2004 Edmund Grimley Evans | ||
2006-2009 Rocco Rutte | ||
2014-2015 Kevin J. McCarthy" | ||
LICENSE="GNU GPL v2" | ||
REVISION="1" | ||
SOURCE_URI="ftp://ftp.mutt.org/pub/mutt/mutt-$portVersion.tar.gz" | ||
CHECKSUM_SHA256="1553501687cd22d5b8aaee4dc5a7d9dcf6cc61d7956f6aabaadd252d10cd5ff9" | ||
PATCHES="mutt-$portVersion.patchset" | ||
|
||
ARCHITECTURES="?x86_gcc2 x86 x86_64" | ||
SECONDARY_ARCHITECTURES="?x86_gcc2 x86 x86_64" | ||
|
||
PROVIDES=" | ||
mutt$secondaryArchSuffix = $portVersion | ||
cmd:mutt$secondaryArchSuffix = $portVersion | ||
cmd:flea$secondaryArchSuffix = $portVersion | ||
cmd:muttbug$secondaryArchSuffix = $portVersion | ||
cmd:pgpewrap$secondaryArchSuffix = $portVersion | ||
cmd:pgpring$secondaryArchSuffix = $portVersion | ||
cmd:smime_keys$secondaryArchSuffix = $portVersion | ||
" | ||
REQUIRES=" | ||
haiku$secondaryArchSuffix | ||
lib:libgpgme$secondaryArchSuffix | ||
lib:libncurses$secondaryArchSuffix | ||
lib:libiconv$secondaryArchSuffix | ||
lib:libgpgme$secondaryArchSuffix | ||
lib:libgpg_error$secondaryArch >= 0 | ||
lib:libgettextpo$secondaryArch | ||
lib:libassuan$secondaryArch | ||
lib:libintl$secondaryArch | ||
lib:libassuan$secondaryArchSuffix | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
devel:libncurses$secondaryArchSuffix | ||
devel:libiconv$secondaryArchSuffix | ||
devel:libgpgme$secondaryArchSuffix | ||
devel:libgpg_error$secondaryArchSuffix | ||
devel:libgettextlib$secondaryArchSuffix | ||
devel:libassuan$secondaryArchSuffix | ||
" | ||
BUILD_PREREQUIRES=" | ||
haiku${secondaryArchSuffix}_devel | ||
cmd:autoreconf | ||
cmd:bison | ||
cmd:gawk | ||
cmd:gcc$secondaryArchSuffix | ||
cmd:gpgme_config$secondaryArchSuffix | ||
cmd:libtoolize$secondaryArchSuffix | ||
cmd:make | ||
cmd:m4 | ||
" | ||
|
||
GLOBAL_WRITABLE_FILES=" | ||
settings/Muttrc keep-old | ||
settings/Muttrc.dist keep-old | ||
settings/mime.types keep-old | ||
settings/mime.types.dist keep-old | ||
" | ||
|
||
BUILD() | ||
{ | ||
export CFLAGS="-D_BSD_SOURCE" | ||
export LDFLAGS="-lnetwork -lbsd" | ||
|
||
libtoolize --force --copy --install | ||
autoreconf -vfi | ||
|
||
runConfigure configure \ | ||
--enable-gpgme \ | ||
--enable-pop \ | ||
--enable-imap \ | ||
--enable-smtp \ | ||
--with-regex \ | ||
--with-mailpath=/boot/home/mail/mutt | ||
|
||
make $jobArgs | ||
} | ||
|
||
INSTALL() | ||
{ | ||
make install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 71de919e2ba5b93d8004047e32adc0186241827b Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com> | ||
Date: Mon, 26 Dec 2016 21:43:34 +0100 | ||
Subject: [PATCH] Haiku patch | ||
|
||
--- | ||
getdomain.c | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/getdomain.c b/getdomain.c | ||
index 15803af..8abd415 100644 | ||
--- a/getdomain.c | ||
+++ b/getdomain.c | ||
@@ -28,6 +28,10 @@ | ||
|
||
#include "mutt.h" | ||
|
||
+#ifdef __HAIKU__ | ||
+#define _SC_HOST_NAME_MAX 72 | ||
+#endif | ||
+ | ||
|
||
int getdnsdomainname (char *d, size_t len) | ||
{ | ||
-- | ||
2.10.2 | ||
|