mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
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>
14 lines
426 B
Bash
14 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"
|