aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mailutils
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mailutils
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.bz2
openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.zip
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mailutils')
-rw-r--r--recipes/mailutils/mailutils-0.3.1/configure.patch84
-rw-r--r--recipes/mailutils/mailutils_0.3.1.bb10
2 files changed, 94 insertions, 0 deletions
diff --git a/recipes/mailutils/mailutils-0.3.1/configure.patch b/recipes/mailutils/mailutils-0.3.1/configure.patch
new file mode 100644
index 0000000000..565b07c60d
--- /dev/null
+++ b/recipes/mailutils/mailutils-0.3.1/configure.patch
@@ -0,0 +1,84 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- mailutils-0.3.1/./configure.ac~configure
++++ mailutils-0.3.1/./configure.ac
+@@ -17,14 +17,14 @@
+ # Foundation, Inc.
+ # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-AC_INIT([GNU Mailutils], [0.3.1], [bug-mailutils@gnu.org], [mailutils])
++AC_INIT([GNU Mailutils],[0.3.1],[bug-mailutils@gnu.org],[mailutils])
+ AC_CONFIG_SRCDIR([mailbox/mailbox.c])
+ AC_CONFIG_AUX_DIR([scripts])
+ AC_CANONICAL_TARGET([])
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADERS([config.h])
+
+-AC_PREREQ(2.54)
++AC_PREREQ(2.57)
+
+ dnl Check for programs
+ AC_PROG_CC
+@@ -237,8 +237,7 @@
+ AC_ARG_WITH([log-facility],
+ AC_HELP_STRING([--with-log-facility=facility],
+ [enable logging to the given facility]),
+- [AC_TRY_COMPILE([#include <syslog.h>], int lf = $withval,
+- log_facility=$withval)])
++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <syslog.h>]], [[int lf = $withval]])],[log_facility=$withval],[])])
+ AC_DEFINE_UNQUOTED(LOG_FACILITY, $log_facility,
+ [Default syslog facility to use])
+ AC_MSG_RESULT($log_facility)
+@@ -260,7 +259,8 @@
+ AC_TYPE_SIZE_T
+ AC_CHECK_TYPE(ssize_t, , AC_DEFINE(ssize_t, int, [Define to int if <sys/types.h> does not define]))
+ AC_TYPE_SIGNAL
+-AC_DECL_SYS_SIGLIST
++AC_CHECK_DECLS([sys_siglist])
++
+ AC_STRUCT_TIMEZONE
+ AC_CHECK_TYPE(ino_t, , AC_DEFINE(ino_t, unsigned long, [Define to unsigned long if <sys/types.h> does not define]))
+ AC_CHECK_TYPE(dev_t, , AC_DEFINE(dev_t, unsigned long, [Define to unsigned long if <sys/types.h> does not define]))
+@@ -360,13 +360,10 @@
+ fi
+
+ AC_MSG_CHECKING(whether extern program_invocation_name is present)
+-AC_TRY_COMPILE([#include <argp.h>
+-#include <errno.h>],
+-[ program_invocation_name = "test"; ],
+-[AC_DEFINE(PROGRAM_INVOCATION_NAME_DECLARED,1,
++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <argp.h>
++#include <errno.h>]], [[ program_invocation_name = "test"; ]])],[AC_DEFINE(PROGRAM_INVOCATION_NAME_DECLARED,1,
+ [Define if program_invocation_name is declared in argp.h])
+- AC_MSG_RESULT(yes)],
+-[AC_MSG_RESULT(no)])
++ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
+
+ AH_BOTTOM([
+ #ifndef PROGRAM_INVOCATION_NAME_DECLARED
+@@ -376,18 +373,15 @@
+
+
+ AC_MSG_CHECKING(whether program_invocation_name is declared)
+-AC_TRY_COMPILE([#include <argp.h>
+-#include <errno.h>],
+-[
++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <argp.h>
++#include <errno.h>]], [[
+ #ifndef PROGRAM_INVOCATION_NAME_DECLARED
+ extern char *program_invocation_name;
+ #endif
+ program_invocation_name = "test";
+-],
+-[AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME,1,
++]])],[AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME,1,
+ [Define if the variable program_invocation_name exists])
+- AC_MSG_RESULT(yes)],
+-[AC_MSG_RESULT(no)])
++ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
+
+ AC_CHECK_FUNCS(_obstack_begin,
+ [AC_DEFINE(HAVE_OBSTACK,1,[Define if GNU obstack is present])],
diff --git a/recipes/mailutils/mailutils_0.3.1.bb b/recipes/mailutils/mailutils_0.3.1.bb
new file mode 100644
index 0000000000..97101913ff
--- /dev/null
+++ b/recipes/mailutils/mailutils_0.3.1.bb
@@ -0,0 +1,10 @@
+SECTION = "console/network"
+DESCRIPTION = "GNU Mailutils contains a series of \
+useful mail clients, servers, and libraries."
+LICENSE = "GPL LGPL"
+SRC_URI = "${GNU_MIRROR}/mailutils/mailutils-${PV}.tar.bz2 \
+ file://configure.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-pam --without-guile"