aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-12-01 02:24:51 +0800
committerfjoe <fjoe@FreeBSD.org>2006-12-01 02:24:51 +0800
commit4fa9169beda8dc318968896eac6a2be7efbc143c (patch)
tree4c0c07c931e0de1d973628161531647546516474 /net
parentf087de9a55565983e3e906a4d0ca8ae2bacc918a (diff)
downloadfreebsd-ports-gnome-4fa9169beda8dc318968896eac6a2be7efbc143c.tar.gz
freebsd-ports-gnome-4fa9169beda8dc318968896eac6a2be7efbc143c.tar.zst
freebsd-ports-gnome-4fa9169beda8dc318968896eac6a2be7efbc143c.zip
Fix chan_zap.so build (replace libpri.so with libpri-bristuff.so).
Pointed out by: Dirk Thannh?user
Diffstat (limited to 'net')
-rw-r--r--net/asterisk-bristuff/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile
index 8eb70bb20404..2ff8a2ce07f2 100644
--- a/net/asterisk-bristuff/Makefile
+++ b/net/asterisk-bristuff/Makefile
@@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.13
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
@@ -94,6 +94,9 @@ PLIST_SUB+= WITH_FAX=""
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
${REINPLACE_CMD} -e 's,^#include <libpri\.h>,#include <libpri-bristuff.h>,' ${WRKSRC}/channels/chan_zap.c
- ${REINPLACE_CMD} -e 's,-lpri,-lpri-bristuff,' ${WRKSRC}/channels/Makefile
+ ${REINPLACE_CMD}\
+ -e 's,-lpri,-lpri-bristuff,'\
+ -e 's,libpri\.so,libpri-bristuff.so,g'\
+ ${WRKSRC}/channels/Makefile
.include <bsd.port.post.mk>