summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-ae
blob: cc3a3c9701cb1fc2e83fc840c2768e0d36a231d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ae,v 1.1.1.1 2005/04/08 03:10:52 riz Exp $
--- apps/Makefile.orig	2005-03-30 12:40:19.000000000 -0800
+++ apps/Makefile	2005-03-30 12:41:21.000000000 -0800
@@ -39,9 +39,12 @@
 #APPS+=app_sql_odbc.so
 #APPS+=app_rpt.so
 
-APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
-APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
-APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; fi)
+#APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
+#APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
+#APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; fi)
+ifdef ASTERISK_USE_ZAPTEL
+APPS+= app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so
+endif
 
 CFLAGS+=-fPIC