let ipkg fail when a package file to be installed is not found
[openwrt.git] / openwrt / package / ppp / patches / 204-opt_flags.patch
1 diff -ruN ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux
2 --- ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux   2004-11-14 08:02:31.000000000 +0100
3 +++ ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux      2004-12-05 17:43:17.000000000 +0100
4 @@ -12,7 +12,8 @@
5  INSTALL        = install
6  
7  PLUGIN=radius.so radattr.so radrealms.so
8 -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
9 +COPTS = -O2
10 +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
11  
12  # Uncomment the next line to include support for Microsoft's
13  # MS-CHAP authentication protocol.
14 diff -ruN ppp-2.4.3-orig/pppdump/Makefile.linux ppp-2.4.3-3/pppdump/Makefile.linux
15 --- ppp-2.4.3-orig/pppdump/Makefile.linux       2004-10-31 02:36:52.000000000 +0200
16 +++ ppp-2.4.3-3/pppdump/Makefile.linux  2004-12-05 17:50:34.000000000 +0100
17 @@ -2,7 +2,8 @@
18  BINDIR = $(DESTDIR)/sbin
19  MANDIR = $(DESTDIR)/share/man/man8
20  
21 -CFLAGS= -O -I../include/net
22 +COPTS = -O
23 +CFLAGS= $(COPTS) -I../include/net
24  OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
25  
26  INSTALL= install