summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc/files/separatebuilddir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/distcc/files/separatebuilddir.patch')
-rw-r--r--meta/recipes-devtools/distcc/files/separatebuilddir.patch42
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 @@
1When building with a separate build directory, make install fails, 1Upstream-Status: Backport [https://github.com/distcc/distcc/pull/363]
2unable to find the gnome_data files. This patch corrects the 2Signed-off-by: Ross Burton <ross.burton@intel.com>
3patch and ensures the build works in this case.
4 3
5RP 2013/3/8 4From 469628ee8dc90c7162d1a850c0b179b7349f9cf3 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 17 Sep 2019 13:04:22 +0100
7Subject: [PATCH] Makefile.in: fix out-of-tree builds when the GNOME UI is
8 enabled
6 9
7Upstream-Status: Pending 10The install command doesn't use $(srcdir) so out-of-tree builds fail.
8 11
9Index: git/Makefile.in 12Signed-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
17diff --git a/Makefile.in b/Makefile.in
18index 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--
332.20.1