]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libdes/libdes-4.01/cross-compile.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libdes / libdes-4.01 / cross-compile.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- libdes/Makefile~cross-compile       1997-01-13 18:27:30.000000000 +0100
7 +++ libdes/Makefile     2004-02-15 01:57:46.000000000 +0100
8 @@ -42,10 +42,10 @@
9  #DES_ENC=asm/dx86-sol.o        # solaris format x86 
10  #DES_ENC=asm/dx86bsdi.o        # bsdi format x86 
11  
12 -LIBDIR=/usr/local/lib
13 -BINDIR=/usr/local/bin
14 -INCDIR=/usr/local/include
15 -MANDIR=/usr/local/man
16 +LIBDIR=$(DESTDIR)/usr/lib
17 +BINDIR=$(DESTDIR)/usr/bin
18 +INCDIR=$(DESTDIR)/usr/include
19 +MANDIR=$(DESTDIR)/usr/man
20  MAN1=1
21  MAN3=3
22  SHELL=/bin/sh
23 @@ -94,10 +94,8 @@
24  
25  $(DLIB): $(OBJS)
26         /bin/rm -f $(DLIB)
27 -       ar cr $(DLIB) $(OBJS)
28 -       -if test -s /bin/ranlib; then /bin/ranlib $(DLIB); \
29 -       else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(DLIB); \
30 -       else exit 0; fi; fi
31 +       $(AR) cr $(DLIB) $(OBJS)
32 +       $(RANLIB) $(DLIB)
33  
34  des_opts: des_opts.o libdes.a
35         $(CC) $(CFLAGS) -o des_opts des_opts.o libdes.a