generic-poky/meta/recipes-devtools/distcc/files/separatebuilddir.patch

22 lines
713 B
Diff

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)