mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
7ae54fb876
Update for port net/asterisk-app-ldap. The new version runs now with asterisk 1.4. Also modified PORTNAME to asterisk-app-ldap and introduced DISTNAME PR: ports/111774 Submitted by: Matthias Fechner <idefix@fechner.net>
15 lines
426 B
Bash
15 lines
426 B
Bash
--- cflags.sh.orig Tue Apr 17 14:11:19 2007
|
|
+++ cflags.sh Tue Apr 17 14:13:40 2007
|
|
@@ -11,6 +11,11 @@ else
|
|
INCDIR=/usr/include/asterisk
|
|
fi
|
|
|
|
+if [ ${OSARCH} = "FreeBSD" ]; then
|
|
+ INCDIR=/usr/local/include/asterisk
|
|
+ CFLAGS="${CFLAGS} -I/usr/local/include -L/usr/local/lib"
|
|
+fi
|
|
+
|
|
CHANNEL_H=${INCDIR}/channel.h
|
|
if [ "`grep 'struct ast_callerid cid' ${CHANNEL_H}`" != "" ]; then
|
|
CFLAGS="${CFLAGS} -DCHANNEL_HAS_CID"
|