[package] fix axhttpd installation, patch from Russell Senior
[openwrt/svn-archive/archive.git] / libs / axtls / patches / 002-axhttpd_install.patch
1 diff -ru axtls-1.2.2/Makefile axtls-1.2.2-new/Makefile
2 --- axtls-1.2.2/Makefile 2007-12-01 16:42:23.000000000 -0800
3 +++ axtls-1.2.2-new/Makefile 2009-05-27 22:41:44.000000000 -0700
4 @@ -88,8 +88,11 @@
5 install: $(PREFIX) all
6 cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib
7 chmod 755 $(PREFIX)/lib/libax*
8 +ifdef CONFIG_AXHTTPD
9 + install -m 755 $(STAGE)/axhttpd $(PREFIX)/bin
10 +endif
11 ifdef CONFIG_SAMPLES
12 - install -m 755 $(STAGE)/ax* $(PREFIX)/bin
13 + install -m 755 $(STAGE)/axssl $(PREFIX)/bin
14 endif
15 ifdef CONFIG_HTTP_HAS_AUTHORIZATION
16 install -m 755 $(STAGE)/htpasswd $(PREFIX)/bin