diff options
Diffstat (limited to 'comms/asterisk/Makefile')
-rw-r--r-- | comms/asterisk/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile index 163e82ac4ce..736113b06a0 100644 --- a/comms/asterisk/Makefile +++ b/comms/asterisk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/09/02 17:23:06 riz Exp $ +# $NetBSD: Makefile,v 1.8 2005/10/10 21:45:08 rh Exp $ DISTNAME= asterisk-1.0.9 CATEGORIES= comms net audio @@ -83,6 +83,11 @@ CONF_FILES+= ${ASTEXAMPLEDIR}/${_file_} ${ASTETCDIR}/${_file_} PTHREAD_OPTS+= require native +.if (${OPSYS} == "Darwin" && exists(/usr/include/sys/poll.h)) +post-patch: + ${ECHO} "#include <sys/poll.h>" > ${WRKSRC}/include/asterisk/poll-compat.h +.endif + .include "../../devel/ncurses/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |