let ipkg fail when a package file to be installed is not found
[openwrt.git] / openwrt / package / asterisk / patches / asterisk-1.0.7-Makefile-codecs-lpc10.patch
1 diff -ruN asterisk-1.0.7-old/codecs/lpc10/Makefile asterisk-1.0.7-new/codecs/lpc10/Makefile
2 --- asterisk-1.0.7-old/codecs/lpc10/Makefile    2004-08-31 18:33:00.000000000 +0200
3 +++ asterisk-1.0.7-new/codecs/lpc10/Makefile    2005-03-19 17:38:06.000000000 +0100
4 @@ -31,6 +31,7 @@
5  ifneq ($(PROC),ppc)
6  ifneq ($(PROC),x86_64)
7  ifneq ($(PROC),alpha)
8 +ifneq ($(PROC),mipsel)
9  #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
10  #This works for even old (2.96) versions of gcc and provides a small boost either way.
11  #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.
12 @@ -46,6 +47,7 @@
13  endif
14  endif
15  endif
16 +endif
17  
18  LIB = $(LIB_TARGET_DIR)/liblpc10.a
19  
20 @@ -62,7 +64,7 @@
21  
22  $(LIB): $(OBJ)
23         $(AR) cr $@ $(OBJ)
24 -       ranlib $@
25 +       $(RANLIB) $@
26  
27  clean:
28         -rm -f *.o $(LIB)