diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2006-09-30 11:12:34 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2006-09-30 11:12:34 +0000 |
commit | a4bd1e8328a6e81254467f450ca6e34bb154c2f2 (patch) | |
tree | e1d76a9b77b20a32548e5881150048d07e3eb520 /net/asterisk-app-ldap/files/patch-cflags.sh | |
parent | - Update to 20060929 (diff) |
LDAPget is an Asterisk application for data retrieval from LDAP
directories (e.g. OpenLDAP or ActiveDirectory).
WWW: http://www.mezzo.net/asterisk/app_ldap.html
PR: ports/101050
Submitted by: Matthias Fechner <idefix at fechner.net>
Notes
Notes:
svn path=/head/; revision=174163
Diffstat (limited to 'net/asterisk-app-ldap/files/patch-cflags.sh')
-rw-r--r-- | net/asterisk-app-ldap/files/patch-cflags.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/asterisk-app-ldap/files/patch-cflags.sh b/net/asterisk-app-ldap/files/patch-cflags.sh new file mode 100644 index 000000000000..bc0b24a42f43 --- /dev/null +++ b/net/asterisk-app-ldap/files/patch-cflags.sh @@ -0,0 +1,19 @@ +--- cflags.sh.orig Sun Jul 30 12:23:23 2006 ++++ cflags.sh Wed Jul 19 10:09:51 2006 +@@ -1,13 +1,13 @@ + #!/bin/sh + +-CFLAGS="-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC" ++CFLAGS="-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -I/usr/local/include -L/usr/local/lib" + +-CHANNEL_H=/usr/include/asterisk/channel.h ++CHANNEL_H=/usr/local/include/asterisk/channel.h + if [ "`grep 'struct ast_callerid cid' ${CHANNEL_H}`" != "" ]; then + CFLAGS="${CFLAGS} -DCHANNEL_HAS_CID" + fi + +-CONFIG_H=/usr/include/asterisk/config.h ++CONFIG_H=/usr/local/include/asterisk/config.h + if [ "`grep 'ast_config_load' ${CONFIG_H}`" != "" ]; then + CFLAGS="${CFLAGS} -DNEW_CONFIG" + fi |