backport asterisk dependencies fix from whiterussian [2331]
[openwrt.git] / package / asterisk / patches / asterisk-1.0.7-Makefile-res.patch
1 diff -ruN asterisk-1.0.7-old/res/Makefile asterisk-1.0.7-new/res/Makefile
2 --- asterisk-1.0.7-old/res/Makefile     2004-07-17 22:58:01.000000000 +0200
3 +++ asterisk-1.0.7-new/res/Makefile     2005-03-19 17:58:17.000000000 +0100
4 @@ -13,9 +13,9 @@
5  
6  MODS=res_adsi.so res_features.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so \
7       res_agi.so
8 -MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
9 -MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
10 -MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi)
11 +#MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
12 +#MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
13 +#MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi)
14  
15  CRYPTO_LIBS=-lssl -lcrypto
16