1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/japanese/ebview-gtk2/files/patch-doc__Makefile.in
Martin Wilke baaa073211 - Fix build with clang
PR:		185717
Submitted by:	ports fury
2014-01-19 14:30:23 +00:00

22 lines
686 B
Plaintext

--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -308,15 +308,15 @@
dir="$(dir)"; \
for lang in $$dir; do \
if test -r $(MKINSTALLDIRS); then \
- $(MKINSTALLDIRS) $(pkgdatadir)/help/$$lang; \
+ $(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/help/$$lang; \
else \
- $(top_srcdir)/mkinstalldirs $(pkgdatadir)/help/$$lang; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir)/help/$$lang; \
fi; \
done; \
data="$(data)"; \
for lang in $$dir; do \
for file in $$data; do \
- $(INSTALL_DATA) $(srcdir)/$$lang/$$file $(pkgdatadir)/help/$$lang/$$file; \
+ $(INSTALL_DATA) $(srcdir)/$$lang/$$file $(DESTDIR)$(pkgdatadir)/help/$$lang/$$file; \
done; \
done;