diff options
author | jnemeth <jnemeth@pkgsrc.org> | 2012-08-15 06:05:33 +0000 |
---|---|---|
committer | jnemeth <jnemeth@pkgsrc.org> | 2012-08-15 06:05:33 +0000 |
commit | 93771645c140c123e70d4f03c810a275de3f7250 (patch) | |
tree | ef4040fc2524751506d9892b2047e84727744b8c /comms | |
parent | 18955760e8a68692c566b30c45857e92921e11d7 (diff) | |
download | pkgsrc-93771645c140c123e70d4f03c810a275de3f7250.tar.gz |
Implement a build fix for the situation where some people were seeing
chan_mgcp.so being built and installed causing PLIST issues.
Diffstat (limited to 'comms')
-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 |