summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc/files/separatebuilddir.patch
blob: 7580b5584bc93b09144bb68717f30390dafd61d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
When building with a separate build directory, make install fails,
unable to find the gnome_data files. This patch corrects the
patch and ensures the build works in this case.

RP 2013/3/8

Upstream-Status: Pending

Index: git/Makefile.in
===================================================================
--- git.orig/Makefile.in
+++ git/Makefile.in
@@ -1117,7 +1117,7 @@ install-example: $(example_DOCS)
 install-gnome-data: $(gnome_data)
 	$(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)"
 	for p in $(gnome_data); do \
-	  $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \
+	  $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \
 	done
 
 install-conf: $(conf_files) $(default_files)