1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-24 06:00:30 -04:00
ports/net/asterisk-app-notify/files/patch-cflags.sh
Rong-En Fan de6e55af8e - Update to 2.0 RC1 which works with Asterisk 1.4
PR:		ports/117475
Submitted by:	Mayo Jordanov <mayo at oyam.ca> (maintainer)
2008-02-07 17:18:48 +00:00

12 lines
325 B
Bash

--- cflags.sh.orig Wed Oct 24 23:37:00 2007
+++ cflags.sh Wed Oct 24 23:31:46 2007
@@ -8,7 +8,8 @@
INCDIR=/Library/Asterisk/include
CFLAGS="${CFLAGS} -I/Library/Asterisk/include"
else
- INCDIR=/usr/include
+ INCDIR=${LOCALBASE}/include
+ CFLAGS="${CFLAGS} -I${INCDIR}"
fi
CHANNEL_H=${INCDIR}/asterisk/channel.h