diff options
author | Max Khon <fjoe@FreeBSD.org> | 2005-08-14 18:44:06 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2005-08-14 18:44:06 +0000 |
commit | de04276318391b249cfe2b823c5dd0caaf14d99d (patch) | |
tree | 405d8f4085da4115b152e5e73a366191f477336b /net/asterisk-devel/files/patch-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
Diffstat (limited to 'net/asterisk-devel/files/patch-Makefile')
-rw-r--r-- | net/asterisk-devel/files/patch-Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/asterisk-devel/files/patch-Makefile b/net/asterisk-devel/files/patch-Makefile index 176c4ba74d4e..4f02274d20ab 100644 --- a/net/asterisk-devel/files/patch-Makefile +++ b/net/asterisk-devel/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Tue Jul 12 00:36:27 2005 -+++ Makefile Tue Jul 12 01:24:50 2005 +--- Makefile.orig Tue Aug 9 17:18:53 2005 ++++ Makefile Tue Aug 9 17:33:29 2005 @@ -45,6 +45,15 @@ PROC=$(shell uname -m) endif @@ -93,7 +93,7 @@ CFLAGS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "-DZAPTEL_OPTIMIZATIONS"; fi) -CFLAGS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "-DZAPTEL_OPTIMIZATIONS"; fi) +CFLAGS+=-I$(LOCALBASE)/include -+ifndef WITHOUT_ZAPTEL ++ifdef WITH_ZAPTEL +CFLAGS+=-DZAPTEL_OPTIMIZATIONS +endif |