summaryrefslogtreecommitdiff
path: root/net/asterisk-devel/files/patch-res::Makefile
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-08-14 18:44:06 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-08-14 18:44:06 +0000
commitde04276318391b249cfe2b823c5dd0caaf14d99d (patch)
tree405d8f4085da4115b152e5e73a366191f477336b /net/asterisk-devel/files/patch-res::Makefile
parent- Fix build on RELENG_4. (diff)
- Add dependency on unixODBC (and WITHOUT_ODBC knob).
- Unify WITH_FOO knobs. - Bump PORTREVISION. Approved by: portmgr, MAINTAINER
Notes
Notes: svn path=/head/; revision=140876
Diffstat (limited to 'net/asterisk-devel/files/patch-res::Makefile')
-rw-r--r--net/asterisk-devel/files/patch-res::Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/asterisk-devel/files/patch-res::Makefile b/net/asterisk-devel/files/patch-res::Makefile
index 2b920da8ea3f..3e48e84189a2 100644
--- a/net/asterisk-devel/files/patch-res::Makefile
+++ b/net/asterisk-devel/files/patch-res::Makefile
@@ -1,5 +1,5 @@
---- res/Makefile.orig Tue Jul 12 01:28:04 2005
-+++ res/Makefile Tue Jul 12 01:58:11 2005
+--- res/Makefile.orig Tue Aug 9 17:18:55 2005
++++ res/Makefile Tue Aug 9 17:33:36 2005
@@ -13,15 +13,18 @@
MODS=res_adsi.so res_features.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so \
@@ -16,7 +16,7 @@
CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo " -DZAPATA_MOH")
-CFLAGS+=$(shell [ -f /usr/local/include/zaptel.h ] && echo " -DZAPATA_MOH")
+CFLAGS+=-I$(LOCALBASE)/include
-+ifndef WITHOUT_ZAPTEL
++ifdef WITH_ZAPTEL
+CFLAGS+=-DZAPATA_MOH
+endif
#