diff options
-rw-r--r-- | comms/asterisk10/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/comms/asterisk10/Makefile b/comms/asterisk10/Makefile index 299c886ff51..9404952eddd 100644 --- a/comms/asterisk10/Makefile +++ b/comms/asterisk10/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2012/08/03 08:52:31 jnemeth Exp $ +# $NetBSD: Makefile,v 1.25 2012/08/15 06:05:33 jnemeth Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked @@ -100,6 +100,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 |