]> git.pld-linux.org Git - packages/freetype.git/blob - freetype-DESTDIR.patch
- fix specflags (quotation here is buggy)
[packages/freetype.git] / freetype-DESTDIR.patch
1 diff -Nru freetype-1.3/contrib/ttf2bdf/Makefile.in freetype-1.3.new/contrib/ttf2bdf/Makefile.in
2 --- freetype-1.3/contrib/ttf2bdf/Makefile.in    Sun Dec  6 19:50:22 1998
3 +++ freetype-1.3.new/contrib/ttf2bdf/Makefile.in        Wed Oct 27 08:40:04 1999
4 @@ -63,9 +63,9 @@
5         $(CC) $(CFLAGS) $(INCS) -c $< -o $@
6  
7  install: ttf2bdf
8 -       @$(MKINSTALLDIRS) $(bindir) $(mandir)/man1
9 -       @cp ttf2bdf $(bindir)/ttf2bdf
10 -       @cp ttf2bdf.man $(mandir)/man1/ttf2bdf.1
11 +       @$(MKINSTALLDIRS) $(bindir) $(DESTDIR)$(mandir)/man1
12 +       @cp ttf2bdf $(DESTDIR)$(bindir)/ttf2bdf
13 +       @cp ttf2bdf.man $(DESTDIR)$(mandir)/man1/ttf2bdf.1
14  
15  uninstall:
16         @$(RM) -f $(bindir)/ttf2bdf
17 diff -Nru freetype-1.3/contrib/ttf2pfb/Makefile.in freetype-1.3.new/contrib/ttf2pfb/Makefile.in
18 --- freetype-1.3/contrib/ttf2pfb/Makefile.in    Wed May  5 06:48:16 1999
19 +++ freetype-1.3.new/contrib/ttf2pfb/Makefile.in        Wed Oct 27 08:40:33 1999
20 @@ -58,11 +58,11 @@
21         $(CC) -c $(FT_CFLAGS) $<
22  
23  install: $(PROGRAMS)
24 -       $(MKINSTALLDIRS) $(bindir)
25 +       $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
26         for P in $(PROGRAMS) ; do \
27 -         $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
28 +         $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(DESTDIR)$(bindir)/$$P ; \
29         done
30 -       $(INSTALL_PROGRAM) $(srcdir)/getafm $(bindir)/getafm
31 +       $(INSTALL_PROGRAM) $(srcdir)/getafm $(DESTDIR)$(bindir)/getafm
32  
33  uninstall:
34         -for P in $(PROGRAMS) ; do \
35 diff -Nru freetype-1.3/contrib/ttf2pk/Makefile.in freetype-1.3.new/contrib/ttf2pk/Makefile.in
36 --- freetype-1.3/contrib/ttf2pk/Makefile.in     Thu Sep  3 07:12:57 1998
37 +++ freetype-1.3.new/contrib/ttf2pk/Makefile.in Wed Oct 27 08:40:58 1999
38 @@ -69,10 +69,10 @@
39                                       $(LIBDIR)/libttf.la $(LDFLAGS)
40  
41  install: $(PROGRAMS)
42 -       $(MKINSTALLDIRS) $(bindir) $(mandir)/man1
43 +       $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
44         for P in $(PROGRAMS) ; do \
45 -          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
46 -          $(INSTALL_DATA) $(srcdir)/$$P.1 $(mandir)/man1 ; \
47 +          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(DESTDIR)$(bindir)/$$P ; \
48 +          $(INSTALL_DATA) $(srcdir)/$$P.1 $(DESTDIR)$(mandir)/man1 ; \
49          done
50  
51  uninstall:
52 diff -Nru freetype-1.3/contrib/ttfbanner/Makefile.in freetype-1.3.new/contrib/ttfbanner/Makefile.in
53 --- freetype-1.3/contrib/ttfbanner/Makefile.in  Wed Dec 30 18:54:37 1998
54 +++ freetype-1.3.new/contrib/ttfbanner/Makefile.in      Wed Oct 27 08:41:18 1999
55 @@ -53,8 +53,8 @@
56         $(CC) -c $(FT_CFLAGS) $<
57  
58  install: ttfbanner
59 -       $(MKINSTALLDIRS) $(bindir)
60 -       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ttfbanner $(bindir)/
61 +       $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
62 +       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ttfbanner $(DESTDIR)$(bindir)/
63  
64  uninstall:
65         $(LIBTOOL) --mode=uninstall $(RM) $(bindir)/ttfbanner
66 diff -Nru freetype-1.3/lib/arch/unix/Makefile.in freetype-1.3.new/lib/arch/unix/Makefile.in
67 --- freetype-1.3/lib/arch/unix/Makefile.in      Sat Jul 31 08:48:17 1999
68 +++ freetype-1.3.new/lib/arch/unix/Makefile.in  Wed Oct 27 08:55:09 1999
69 @@ -200,10 +200,10 @@
70                                 -version-info $(version_info) $(FT_LIBS)
71  
72  install: libttf.la
73 -       $(MKINSTALLDIRS) $(libdir) $(includedir)/freetype
74 -       $(LIBTOOL) --mode=install $(INSTALL) libttf.la $(libdir)
75 +       $(MKINSTALLDIRS) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)/freetype
76 +       $(LIBTOOL) --mode=install $(INSTALL) libttf.la $(DESTDIR)$(libdir)
77         -for P in $(HEADERS) ; do \
78 -          $(INSTALL_DATA) $$P $(includedir)/freetype ; \
79 +          $(INSTALL_DATA) $$P $(DESTDIR)$(includedir)/freetype ; \
80          done
81  
82  uninstall: 
83 diff -Nru freetype-1.3/test/arch/unix/Makefile.in freetype-1.3.new/test/arch/unix/Makefile.in
84 --- freetype-1.3/test/arch/unix/Makefile.in     Mon Jun 28 21:52:08 1999
85 +++ freetype-1.3.new/test/arch/unix/Makefile.in Wed Oct 27 09:04:53 1999
86 @@ -125,9 +125,9 @@
87  
88  
89  install: $(PROGRAMS)
90 -       $(MKINSTALLDIRS) $(bindir)
91 +       $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
92         for P in $(PROGRAMS) ; do \
93 -          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
94 +          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(DESTDIR)$(bindir)/$$P ; \
95          done
96  
97  uninstall:
This page took 0.029572 seconds and 3 git commands to generate.