port radiusclient-ng to buildroot-ng
[openwrt/svn-archive/archive.git] / libs / radiusclient-ng / patches / 01-cross_compile.patch
1 diff -urN radiusclient-ng-0.5.2/configure radiusclient-ng-0.5.2.new/configure
2 --- radiusclient-ng-0.5.2/configure 2005-11-07 22:18:59.000000000 +0100
3 +++ radiusclient-ng-0.5.2.new/configure 2006-03-10 01:51:59.489383320 +0100
4 @@ -23791,8 +23791,7 @@
5 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6 See \`config.log' for more details." >&5
7 echo "$as_me: error: cannot run test program while cross compiling
8 -See \`config.log' for more details." >&2;}
9 - { (exit 1); exit 1; }; }
10 +See \`config.log' for more details." >&2;} }
11 else
12 cat >conftest.$ac_ext <<_ACEOF
13 /* confdefs.h. */
14 diff -urN radiusclient-ng-0.5.2/etc/Makefile.in radiusclient-ng-0.5.2.new/etc/Makefile.in
15 --- radiusclient-ng-0.5.2/etc/Makefile.in 2005-11-08 00:15:35.000000000 +0100
16 +++ radiusclient-ng-0.5.2.new/etc/Makefile.in 2006-03-10 01:58:29.345116240 +0100
17 @@ -376,9 +376,9 @@
18 <$(srcdir)/radiusclient.conf.in >radiusclient.conf
19
20 install-data-local: servers
21 - $(mkinstalldirs) $(pkgsysconfdir); \
22 - echo " $(INSTALL) -m 600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
23 - $(INSTALL) -m 600 $(srcdir)/servers $(pkgsysconfdir)/servers
24 + $(mkinstalldirs) $(DESTDIR)/$(pkgsysconfdir); \
25 + echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)/$(pkgsysconfdir)/servers"; \
26 + $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)/$(pkgsysconfdir)/servers
27
28 uninstall-local:
29 rm -f $(pkgsysconfdir)/servers