imsettings: fix build error.

multi-line ACLOCAL_AMFLAGS isn't supported by autoreconf, otherwise
a configure error as follow will be caught.

  aclocal: error: non-option arguments are not accepted: '\'.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Bian Naimeng 2015-06-24 16:26:34 +08:00 committed by Martin Jansa
parent 8b05b3d580
commit 3f83d88dcb
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,21 @@
multi-line ACLOCAL_AMFLAGS isn't supported by autoreconf.
It will cause configure error as follow.
aclocal: error: non-option arguments are not accepted: '\'.
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
diff -Nurp imsettings-1.6.8.orig/Makefile.am imsettings-1.6.8/Makefile.am
--- imsettings-1.6.8.orig/Makefile.am 2013-02-08 11:33:59.000000000 +0900
+++ imsettings-1.6.8/Makefile.am 2015-06-24 14:15:32.070000007 +0900
@@ -1,9 +1,7 @@
NULL =
SUBDIRS = data imsettings imsettings-daemon backends utils po tests docs
-ACLOCAL_AMFLAGS = \
- -I m4macros \
- $(NULL)
+ACLOCAL_AMFLAGS = -I m4macros $(NULL)
CONFIGURE_DEPENDENCIES = \
requires \

View File

@ -10,7 +10,8 @@ SECTION = "Applications/System"
inherit autotools gtk-doc
SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
file://gtk-is-required-by-notify.patch"
file://gtk-is-required-by-notify.patch \
file://multi-line-ACLOCAL_AMFLAGS-isnot-supported-by-autoreconf.patch"
SRC_URI[md5sum] = "c31429f1d60e36d7f811f871c75b6c41"
SRC_URI[sha256sum] = "2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba"