diff options
Diffstat (limited to 'meta/recipes-devtools/distcc/files/separatebuilddir.patch')
-rw-r--r-- | meta/recipes-devtools/distcc/files/separatebuilddir.patch | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/meta/recipes-devtools/distcc/files/separatebuilddir.patch b/meta/recipes-devtools/distcc/files/separatebuilddir.patch index 7580b5584b..c8da9d51c3 100644 --- a/meta/recipes-devtools/distcc/files/separatebuilddir.patch +++ b/meta/recipes-devtools/distcc/files/separatebuilddir.patch | |||
@@ -1,21 +1,33 @@ | |||
1 | When building with a separate build directory, make install fails, | 1 | Upstream-Status: Backport [https://github.com/distcc/distcc/pull/363] |
2 | unable to find the gnome_data files. This patch corrects the | 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
3 | patch and ensures the build works in this case. | ||
4 | 3 | ||
5 | RP 2013/3/8 | 4 | From 469628ee8dc90c7162d1a850c0b179b7349f9cf3 Mon Sep 17 00:00:00 2001 |
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 17 Sep 2019 13:04:22 +0100 | ||
7 | Subject: [PATCH] Makefile.in: fix out-of-tree builds when the GNOME UI is | ||
8 | enabled | ||
6 | 9 | ||
7 | Upstream-Status: Pending | 10 | The install command doesn't use $(srcdir) so out-of-tree builds fail. |
8 | 11 | ||
9 | Index: git/Makefile.in | 12 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
10 | =================================================================== | 13 | --- |
11 | --- git.orig/Makefile.in | 14 | Makefile.in | 4 ++-- |
12 | +++ git/Makefile.in | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
13 | @@ -1117,7 +1117,7 @@ install-example: $(example_DOCS) | 16 | |
17 | diff --git a/Makefile.in b/Makefile.in | ||
18 | index 123054f..b9ce974 100644 | ||
19 | --- a/Makefile.in | ||
20 | +++ b/Makefile.in | ||
21 | @@ -1130,8 +1130,8 @@ install-example: $(example_DOCS) | ||
14 | install-gnome-data: $(gnome_data) | 22 | install-gnome-data: $(gnome_data) |
15 | $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" | 23 | $(mkinstalldirs) "$(DESTDIR)$(icondir)" |
16 | for p in $(gnome_data); do \ | 24 | $(mkinstalldirs) "$(DESTDIR)$(desktopdir)" |
17 | - $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | 25 | - $(INSTALL_DATA) gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)" |
18 | + $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | 26 | - $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)" |
19 | done | 27 | + $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)" |
28 | + $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)" | ||
20 | 29 | ||
21 | install-conf: $(conf_files) $(default_files) | 30 | install-conf: $(conf_files) $(default_files) |
31 | $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc" | ||
32 | -- | ||
33 | 2.20.1 | ||