]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/openldap/files/ucgendat.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / openldap / files / ucgendat.patch
1 --- openldap-2.2.24/.pc/ucgendat.patch/libraries/liblunicode/Makefile.in        2005-01-20 09:01:03.000000000 -0800
2 +++ openldap-2.2.24/libraries/liblunicode/Makefile.in   2005-04-18 07:57:11.364118488 -0700
3 @@ -31,16 +31,30 @@
4  
5  ucgendat: $(XLIBS) ucgendat.o
6         $(LTLINK) -o $@ ucgendat.o $(LIBS)
7 -       ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
8 +       ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt || \
9 +               touch ./nodat
10  
11  DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
12  
13 +# This deals with cross compilation - ucgendat must be run on the host after
14 +# the install!
15  install-local: $(PROGRAMS) FORCE
16         -$(MKDIR) $(DESTDIR)$(datadir)/ucdata
17 -       @for i in $(DATFILES); do \
18 +       @if test -e nodat;\
19 +       then\
20 +               echo $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 ucgendat $(DESTDIR)$(datadir)/ucdata;\
21 +               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 ucgendat $(DESTDIR)$(datadir)/ucdata;\
22 +               for i in UnicodeData.txt CompositionExclusions.txt;\
23 +               do\
24 +                       echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata;\
25 +                       $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata;\
26 +               done;\
27 +       else\
28 +       for i in $(DATFILES); do \
29                 echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
30                 $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
31 -       done
32 +       done;\
33 +       fi
34  
35  .links :
36         @for i in $(XXSRCS) $(XXHEADERS); do \