source: trunk/dports/cross/sh-rtems-binutils/files/patch-ld-po-Make-in @ 21475

Last change on this file since 21475 was 21475, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 2.7 KB
Line 
1--- ld/po/Make-in.old   Wed Dec 24 14:37:56 2003
2+++ ld/po/Make-in       Wed Dec 24 14:38:34 2003
3@@ -24,6 +24,8 @@
4 gettextsrcdir = $(prefix)/share/gettext/po
5 subdir = po
6 
7+DESTDIR =
8+
9 INSTALL = @INSTALL@
10 INSTALL_DATA = @INSTALL_DATA@
11 MKINSTALLDIRS = @MKINSTALLDIRS@
12@@ -111,9 +113,9 @@
13 install-data-no: all
14 install-data-yes: all
15        if test -r $(MKINSTALLDIRS); then \
16-         $(MKINSTALLDIRS) $(datadir); \
17+         $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
18        else \
19-         $(top_srcdir)/mkinstalldirs $(datadir); \
20+         $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
21        fi
22        @catalogs='$(CATALOGS)'; \
23        for cat in $$catalogs; do \
24@@ -125,27 +127,27 @@
25          lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
26          dir=$$destdir/$$lang/LC_MESSAGES; \
27          if test -r $(MKINSTALLDIRS); then \
28-           $(MKINSTALLDIRS) $$dir; \
29+           $(MKINSTALLDIRS) $(DESTDIR)$$dir; \
30          else \
31-           $(top_srcdir)/mkinstalldirs $$dir; \
32+           $(top_srcdir)/mkinstalldirs $(DESTDIR)$$dir; \
33          fi; \
34          if test -r $$cat; then \
35-           $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
36-           echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
37+           $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
38+           echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
39          else \
40-           $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
41+           $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
42            echo "installing $(srcdir)/$$cat as" \
43-                "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
44+                "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
45          fi; \
46          if test -r $$cat.m; then \
47-           $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
48-           echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
49+           $(INSTALL_DATA) $$cat.m $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
50+           echo "installing $$cat.m as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
51          else \
52            if test -r $(srcdir)/$$cat.m ; then \
53              $(INSTALL_DATA) $(srcdir)/$$cat.m \
54-               $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
55+               $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
56              echo "installing $(srcdir)/$$cat as" \
57-                  "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
58+                  "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
59            else \
60              true; \
61            fi; \
62@@ -153,12 +155,12 @@
63        done
64        if test "$(PACKAGE)" = "gettext"; then \
65          if test -r $(MKINSTALLDIRS); then \
66-           $(MKINSTALLDIRS) $(gettextsrcdir); \
67+           $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
68          else \
69-           $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
70+           $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
71          fi; \
72          $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
73-                         $(gettextsrcdir)/Makefile.in.in; \
74+                         $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
75        else \
76          : ; \
77        fi
Note: See TracBrowser for help on using the repository browser.