summaryrefslogtreecommitdiffstats
path: root/package/radiusclient-ng/patches/01-cross_compile.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-10 08:05:36 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-10 08:05:36 +0000
commitb937e3ee600c111da57b8a97abcedbfe4839cd39 (patch)
tree815bccbf0979fcf165a5aa8f7d5a8ef10d42f2f8 /package/radiusclient-ng/patches/01-cross_compile.patch
parent3393707ad25acb2cc6e923fd44e3e51223ffcc2a (diff)
Added radiusclient-ng, libradiusclient-ng. Config.in may need some tweaking to be correctly placed either in Networking or Libraries section (libraries currently).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/radiusclient-ng/patches/01-cross_compile.patch')
-rw-r--r--package/radiusclient-ng/patches/01-cross_compile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/radiusclient-ng/patches/01-cross_compile.patch b/package/radiusclient-ng/patches/01-cross_compile.patch
new file mode 100644
index 000000000..fa45afb12
--- /dev/null
+++ b/package/radiusclient-ng/patches/01-cross_compile.patch
@@ -0,0 +1,29 @@
+diff -urN radiusclient-ng-0.5.2/configure radiusclient-ng-0.5.2.new/configure
+--- radiusclient-ng-0.5.2/configure 2005-11-07 22:18:59.000000000 +0100
++++ radiusclient-ng-0.5.2.new/configure 2006-03-10 01:51:59.489383320 +0100
+@@ -23791,8 +23791,7 @@
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+ See \`config.log' for more details." >&5
+ echo "$as_me: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&2;}
+- { (exit 1); exit 1; }; }
++See \`config.log' for more details." >&2;} }
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+diff -urN radiusclient-ng-0.5.2/etc/Makefile.in radiusclient-ng-0.5.2.new/etc/Makefile.in
+--- radiusclient-ng-0.5.2/etc/Makefile.in 2005-11-08 00:15:35.000000000 +0100
++++ radiusclient-ng-0.5.2.new/etc/Makefile.in 2006-03-10 01:58:29.345116240 +0100
+@@ -376,9 +376,9 @@
+ <$(srcdir)/radiusclient.conf.in >radiusclient.conf
+
+ install-data-local: servers
+- $(mkinstalldirs) $(pkgsysconfdir); \
+- echo " $(INSTALL) -m 600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
+- $(INSTALL) -m 600 $(srcdir)/servers $(pkgsysconfdir)/servers
++ $(mkinstalldirs) $(DESTDIR)/$(pkgsysconfdir); \
++ echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)/$(pkgsysconfdir)/servers"; \
++ $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)/$(pkgsysconfdir)/servers
+
+ uninstall-local:
+ rm -f $(pkgsysconfdir)/servers