port freeradius to buildroot-ng
[openwrt/svn-archive/archive.git] / net / freeradius / patches / 06-freeradius-1.1.1-no_radeapclient.patch
1 diff -ruN freeradius-1.1.1-old/src/modules/rlm_eap/Makefile.in freeradius-1.1.1-new/src/modules/rlm_eap/Makefile.in
2 --- freeradius-1.1.1-old/src/modules/rlm_eap/Makefile.in 2006-02-10 20:47:08.000000000 +0100
3 +++ freeradius-1.1.1-new/src/modules/rlm_eap/Makefile.in 2006-05-22 08:25:44.000000000 +0200
4 @@ -10,7 +10,6 @@
5 RLM_LIBS = libeap/libeap.la $(LIBLTDL)
6 RLM_INSTALL = install-subdirs
7 RLM_SUBDIRS = libeap @eaptypes@
8 -RLM_UTILS = radeapclient
9
10 #
11 # Not using shared libraries, add in ALL known static modules
12 @@ -29,15 +28,8 @@
13
14 $(LT_OBJS): $(HEADERS)
15
16 -radeapclient: radeapclient.lo $(CLIENTLIBS)
17 - $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(RLM_LDFLAGS) -static -o radeapclient radeapclient.lo $(CLIENTLIBS) $(LIBS)
18 -
19 -radeapclient.lo: radeapclient.c $(HEADERS)
20 - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(RLM_CFLAGS) -c radeapclient.c
21 -
22 install-subdirs:
23 @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=install common
24 - $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radeapclient$(EXEEXT) $(R)$(bindir)
25
26 common:
27 @for dir in $(RLM_SUBDIRS); do \