summaryrefslogtreecommitdiff
path: root/net/asterisk12/files/patch-cdr::Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2007-07-31 21:18:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2007-07-31 21:18:09 +0000
commitf93d68c0890a0565bedfb079bc09b4e610c83a50 (patch)
tree6a25843585d95d165634bf1889b8d1dbd1417560 /net/asterisk12/files/patch-cdr::Makefile
parentUpdate to 2.0.10 (diff)
o Upgrade to 1.2.23.
o Disable fax-related modules since they don't compile with newest spandsp. o Enable FreeTDS support (could be disabled using WITHOUT_FREETDS knob). Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ )
Diffstat (limited to 'net/asterisk12/files/patch-cdr::Makefile')
-rw-r--r--net/asterisk12/files/patch-cdr::Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/asterisk12/files/patch-cdr::Makefile b/net/asterisk12/files/patch-cdr::Makefile
index 8628383461d2..5b905c7778ef 100644
--- a/net/asterisk12/files/patch-cdr::Makefile
+++ b/net/asterisk12/files/patch-cdr::Makefile
@@ -30,7 +30,7 @@ $FreeBSD$
#
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/freetds/tds.h),)
- ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/local/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/include/freetds/tdsver.h | grep -c 0.64),1)
-+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/freetds/tds.h),)
++ifdef WITH_FREETDS
+ ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/include/freetds/tdsver.h | grep -c 0.64),1)
CFLAGS += -DFREETDS_0_64
else