From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/mailutils/mailutils-0.3.1/configure.patch | 84 +++++++++++++++++++++++ recipes/mailutils/mailutils_0.3.1.bb | 10 +++ 2 files changed, 94 insertions(+) create mode 100644 recipes/mailutils/mailutils-0.3.1/configure.patch create mode 100644 recipes/mailutils/mailutils_0.3.1.bb (limited to 'recipes/mailutils') 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 ], int lf = $withval, +- log_facility=$withval)]) ++ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[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 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 does not define])) + AC_CHECK_TYPE(dev_t, , AC_DEFINE(dev_t, unsigned long, [Define to unsigned long if does not define])) +@@ -360,13 +360,10 @@ + fi + + AC_MSG_CHECKING(whether extern program_invocation_name is present) +-AC_TRY_COMPILE([#include +-#include ], +-[ program_invocation_name = "test"; ], +-[AC_DEFINE(PROGRAM_INVOCATION_NAME_DECLARED,1, ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ++#include ]], [[ 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 +-#include ], +-[ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ++#include ]], [[ + #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" -- cgit 1.2.3-korg