diff options
Diffstat (limited to 'meta/recipes-devtools/distcc/files')
-rw-r--r-- | meta/recipes-devtools/distcc/files/separatebuilddir.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/distcc/files/separatebuilddir.patch b/meta/recipes-devtools/distcc/files/separatebuilddir.patch new file mode 100644 index 0000000000..b9e3e42ddf --- /dev/null +++ b/meta/recipes-devtools/distcc/files/separatebuilddir.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | When building with a separate build directory, make install fails, | ||
2 | unable to find the gnome_data files. This patch corrects the | ||
3 | patch and ensures the build works in this case. | ||
4 | |||
5 | RP 2013/3/8 | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Index: distcc-3.1/Makefile.in | ||
10 | =================================================================== | ||
11 | --- distcc-3.1.orig/Makefile.in 2008-12-02 21:50:31.000000000 +0000 | ||
12 | +++ distcc-3.1/Makefile.in 2013-03-08 10:49:24.224400937 +0000 | ||
13 | @@ -1088,7 +1088,7 @@ | ||
14 | install-gnome-data: $(gnome_data) | ||
15 | $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" | ||
16 | for p in $(gnome_data); do \ | ||
17 | - $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | ||
18 | + $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | ||
19 | done | ||
20 | |||
21 | install-conf: $(conf_files) $(default_files) | ||