diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-28 11:59:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:33 +0000 |
commit | 5b5914f1434e3963da6b6b18be745adf252166a1 (patch) | |
tree | 2db2caab1518aa3d9ece3b0f7b356324e89d42c6 /meta/recipes-connectivity | |
parent | 5365bd6c0fa86cfd81e4633b472de00b1b2ef751 (diff) | |
download | poky-5b5914f1434e3963da6b6b18be745adf252166a1.tar.gz |
avahi: fix configure with automake 1.11.2
automake version 1.11.2 has made use of dir variables more strict.
use of pkglibdir with DATA var results in automake errors.
This commits uses pkgdatadir var instead of pkglibdir to avoid
the strict check errors.
Fixes this error:
service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate
directory for `DATA'
autoreconf: automake failed with exit status: 1
ERROR: autoreconf execution failed.
(From OE-Core rev: ea7e61c14f7fcf917ea1cf4811e5cceb5003a030)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 5 | ||||
-rw-r--r-- | meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch | 44 |
2 files changed, 47 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index deebbd6bb3..3cee1a4978 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc | |||
@@ -14,14 +14,15 @@ SECTION = "network" | |||
14 | # python scripts are under GPLv2+ | 14 | # python scripts are under GPLv2+ |
15 | LICENSE = "GPLv2+ & LGPLv2.1+" | 15 | LICENSE = "GPLv2+ & LGPLv2.1+" |
16 | 16 | ||
17 | INC_PR = "r10" | 17 | INC_PR = "r11" |
18 | 18 | ||
19 | DEPENDS = "expat libcap libdaemon dbus glib-2.0" | 19 | DEPENDS = "expat libcap libdaemon dbus glib-2.0" |
20 | 20 | ||
21 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ | 21 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ |
22 | file://00avahi-autoipd \ | 22 | file://00avahi-autoipd \ |
23 | file://99avahi-autoipd \ | 23 | file://99avahi-autoipd \ |
24 | file://initscript.patch" | 24 | file://initscript.patch \ |
25 | file://fix_for_automake_1.11.2.patch" | ||
25 | 26 | ||
26 | USERADD_PACKAGES = "avahi-daemon" | 27 | USERADD_PACKAGES = "avahi-daemon" |
27 | USERADD_PARAM_avahi-daemon = "--system --home /var/run/avahi-daemon \ | 28 | USERADD_PARAM_avahi-daemon = "--system --home /var/run/avahi-daemon \ |
diff --git a/meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch b/meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch new file mode 100644 index 0000000000..e7a1908a63 --- /dev/null +++ b/meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | automake version 1.11.2 has made use of dir variables more strict. | ||
4 | the use of pkglibdir with DATA var results in automake errors. | ||
5 | This commits uses pkgdatadir var instead of pkglibdir to avoid | ||
6 | the strict check errors. | ||
7 | |||
8 | Fixes this error: | ||
9 | service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate directory for `DATA' | ||
10 | autoreconf: automake failed with exit status: 1 | ||
11 | ERROR: autoreconf execution failed. | ||
12 | |||
13 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
14 | 2011/12/28 | ||
15 | |||
16 | |||
17 | Index: avahi-0.6.30/service-type-database/Makefile.am | ||
18 | =================================================================== | ||
19 | --- avahi-0.6.30.orig/service-type-database/Makefile.am | ||
20 | +++ avahi-0.6.30/service-type-database/Makefile.am | ||
21 | @@ -18,13 +18,12 @@ | ||
22 | EXTRA_DIST=build-db.in service-types | ||
23 | |||
24 | pkgdata_DATA=service-types | ||
25 | -pkglib_DATA= | ||
26 | |||
27 | if HAVE_PYTHON | ||
28 | if HAVE_GDBM | ||
29 | |||
30 | noinst_SCRIPTS=build-db | ||
31 | -pkglib_DATA+=service-types.db | ||
32 | +pkgdata_DATA+=service-types.db | ||
33 | |||
34 | build-db: build-db.in | ||
35 | $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \ | ||
36 | @@ -41,7 +40,7 @@ endif | ||
37 | if HAVE_DBM | ||
38 | |||
39 | noinst_SCRIPTS=build-db | ||
40 | -pkglib_DATA+=service-types.db.pag service-types.db.dir | ||
41 | +pkgdata_DATA+=service-types.db.pag service-types.db.dir | ||
42 | |||
43 | build-db: build-db.in | ||
44 | $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \ | ||