diff options
author | nia <nia@pkgsrc.org> | 2021-11-09 11:11:08 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-11-09 11:11:08 +0000 |
commit | 46c0867aa1798c5c7231fa32aa1328c13495decf (patch) | |
tree | 0dc850b7f3d562e1605b54ea5705d7e2c4c6a520 /comms/asterisk13 | |
parent | dea6d486d5f6f1cf09db248dc98ade72b1559d5f (diff) | |
download | pkgsrc-46c0867aa1798c5c7231fa32aa1328c13495decf.tar.gz |
asterisk*: Detect kqueue/timerfd through pkgsrc infrastructure.
Fixes PLIST on NetBSD/current.
Diffstat (limited to 'comms/asterisk13')
-rw-r--r-- | comms/asterisk13/Makefile | 9 | ||||
-rw-r--r-- | comms/asterisk13/PLIST | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/comms/asterisk13/Makefile b/comms/asterisk13/Makefile index 8b0a0236df4..5517ea702c9 100644 --- a/comms/asterisk13/Makefile +++ b/comms/asterisk13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2021/09/29 19:00:24 adam Exp $ +# $NetBSD: Makefile,v 1.74 2021/11/09 11:11:08 nia Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile @@ -117,10 +117,15 @@ BUILDLINK_TRANSFORM+= rm:-march=i386 .endif PLIST_VARS+= kqueue -.if exists(/usr/include/sys/event.h) +.if defined(PKG_HAVE_KQUEUE) PLIST.kqueue= yes .endif +PLIST_VARS+= timerfd +.if defined(PKG_HAVE_TIMERFD) +PLIST.timerfd= yes +.endif + PLIST_VARS+= mgcp # NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined # if the grep fails diff --git a/comms/asterisk13/PLIST b/comms/asterisk13/PLIST index c761acb8c42..fd06299d63a 100644 --- a/comms/asterisk13/PLIST +++ b/comms/asterisk13/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2021/01/02 22:45:43 jnemeth Exp $ +@comment $NetBSD: PLIST,v 1.13 2021/11/09 11:11:08 nia Exp $ include/asterisk.h include/asterisk/_private.h include/asterisk/abstract_jb.h @@ -462,6 +462,7 @@ lib/asterisk/modules/res_statsd.so lib/asterisk/modules/res_stun_monitor.so ${PLIST.kqueue}lib/asterisk/modules/res_timing_kqueue.so lib/asterisk/modules/res_timing_pthread.so +${PLIST.timerfd}lib/asterisk/modules/res_timing_timerfd.so ${PLIST.jabber}lib/asterisk/modules/res_xmpp.so lib/libasteriskssl.so lib/libasteriskssl.so.1 |