diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-18 08:10:59 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-22 00:01:53 +0200 |
commit | 7488dcc1fe1ad4289aaeaf5fd18a28eff84cf0a8 (patch) | |
tree | 3cd8641859bb20f7616eca7e9684b308d09d38bb /meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl | |
parent | 4c5bd5793c0ea9bd786069fd1022e8769740d40e (diff) | |
download | meta-openembedded-7488dcc1fe1ad4289aaeaf5fd18a28eff84cf0a8.tar.gz |
claws-plugin-rssyl: Use "foreign" automake strictness and autotools-brokensep
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl')
-rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch new file mode 100644 index 000000000..a7a38f30c --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | Index: rssyl-0.34/configure.ac | ||
2 | =================================================================== | ||
3 | --- rssyl-0.34.orig/configure.ac 2014-07-18 07:37:28.981532959 +0000 | ||
4 | +++ rssyl-0.34/configure.ac 2014-07-18 07:39:45.881536690 +0000 | ||
5 | @@ -1,5 +1,13 @@ | ||
6 | + | ||
7 | +dnl plugin version | ||
8 | +m4_define([plugin_major_version],[0]) | ||
9 | +m4_define([plugin_minor_version],[34]) | ||
10 | +m4_define([plugin_micro_version],[0]) | ||
11 | +m4_define([plugin_version], [plugin_major_version.plugin_minor_version.plugin_micro_version]) | ||
12 | + | ||
13 | AC_PREREQ(2.60) | ||
14 | -AC_INIT(src/plugin.c) | ||
15 | +AC_INIT(rssyl, plugin_version) | ||
16 | +AC_CONFIG_SRCDIR(src/plugin.c) | ||
17 | AC_CONFIG_AUX_DIR(config) | ||
18 | AM_MAINTAINER_MODE | ||
19 | AC_CONFIG_HEADERS(config.h) | ||
20 | @@ -7,28 +15,15 @@ | ||
21 | PACKAGE=rssyl | ||
22 | |||
23 | dnl plugin version | ||
24 | -MAJOR_VERSION=0 | ||
25 | -MINOR_VERSION=34 | ||
26 | -MICRO_VERSION=0 | ||
27 | +MAJOR_VERSION=plugin_major_version | ||
28 | +MINOR_VERSION=plugin_minor_version | ||
29 | +MICRO_VERSION=plugin_micro_version | ||
30 | EXTRA_VERSION=0 | ||
31 | - | ||
32 | -if test \( $EXTRA_VERSION -eq 0 \); then | ||
33 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
34 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION} | ||
35 | - else | ||
36 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} | ||
37 | - fi | ||
38 | -else | ||
39 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
40 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}cvs${EXTRA_VERSION} | ||
41 | - else | ||
42 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION} | ||
43 | - fi | ||
44 | -fi | ||
45 | +VERSION=plugin_version | ||
46 | |||
47 | AC_CANONICAL_SYSTEM | ||
48 | |||
49 | -AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) | ||
50 | +AM_INIT_AUTOMAKE([foreign no-define]) | ||
51 | AC_DEFINE_UNQUOTED(PLUGINVERSION, "$VERSION", [plugin version]) | ||
52 | |||
53 | AC_PROG_CC | ||