diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/asterisk18/Makefile | 10 | ||||
-rw-r--r-- | comms/asterisk18/PLIST | 3 |
2 files changed, 11 insertions, 2 deletions
diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile index bc522210f18..230bfb93fe3 100644 --- a/comms/asterisk18/Makefile +++ b/comms/asterisk18/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2012/08/03 08:22:53 jnemeth Exp $ +# $NetBSD: Makefile,v 1.43 2012/08/19 18:41:10 jnemeth Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked @@ -101,6 +101,14 @@ PLIST_VARS+= kqueue PLIST.kqueue= yes .endif +PLIST_VARS+= mgcp +# NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined +# if the grep fails +NOSIGPIPE!= ${GREP} SO_NOSIGPIPE /usr/include/sys/socket.h || echo "" +.if ${NOSIGPIPE} != "" +PLIST.mgcp= yes +.endif + .include "options.mk" # check sounds/Makefile for current version when upgrading package diff --git a/comms/asterisk18/PLIST b/comms/asterisk18/PLIST index 01c63bf0653..252c81a142b 100644 --- a/comms/asterisk18/PLIST +++ b/comms/asterisk18/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.18 2012/07/17 00:29:33 jnemeth Exp $ +@comment $NetBSD: PLIST,v 1.19 2012/08/19 18:41:10 jnemeth Exp $ include/asterisk.h include/asterisk/_private.h include/asterisk/abstract_jb.h @@ -223,6 +223,7 @@ ${PLIST.jabber}lib/asterisk/modules/chan_gtalk.so lib/asterisk/modules/chan_iax2.so ${PLIST.jabber}lib/asterisk/modules/chan_jingle.so lib/asterisk/modules/chan_local.so +${PLIST.mgcp}lib/asterisk/modules/chan_mgcp.so lib/asterisk/modules/chan_multicast_rtp.so lib/asterisk/modules/chan_oss.so lib/asterisk/modules/chan_sip.so |