diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/asterisk16/Makefile | 5 | ||||
-rw-r--r-- | comms/asterisk18/Makefile | 9 | ||||
-rw-r--r-- | comms/asterisk19/Makefile | 5 |
3 files changed, 11 insertions, 8 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile index 7399745f17d..8bd58f99347 100644 --- a/comms/asterisk16/Makefile +++ b/comms/asterisk16/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2022/05/05 08:20:09 nia Exp $ +# $NetBSD: Makefile,v 1.89 2022/05/10 11:49:03 nia Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile @@ -146,7 +146,8 @@ PLIST.timerfd= yes PLIST_VARS+= unbound # unbound 1.5 or later is required.` -.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M9.*) +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 090000 && \ + exists(/usr/include/unbound.h) PLIST.unbound= yes .else CONFIGURE_ARGS+= --without-unbound diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile index 083ac1f534e..ee4c3f0c3a2 100644 --- a/comms/asterisk18/Makefile +++ b/comms/asterisk18/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.139 2022/05/05 08:20:09 nia Exp $ +# $NetBSD: Makefile,v 1.140 2022/05/10 11:49:03 nia Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile @@ -146,10 +146,11 @@ PLIST.timerfd= yes PLIST_VARS+= unbound # unbound 1.5 or later is required.` -.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M8.*) -CONFIGURE_ARGS+= --without-unbound -.else +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 090000 && \ + exists(/usr/include/unbound.h) PLIST.unbound= yes +.else +CONFIGURE_ARGS+= --without-unbound .endif .include "options.mk" diff --git a/comms/asterisk19/Makefile b/comms/asterisk19/Makefile index 3d1e8d5e0c0..897eabd9af2 100644 --- a/comms/asterisk19/Makefile +++ b/comms/asterisk19/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2022/05/05 08:20:09 nia Exp $ +# $NetBSD: Makefile,v 1.7 2022/05/10 11:49:04 nia Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile @@ -146,7 +146,8 @@ PLIST.timerfd= yes PLIST_VARS+= unbound # unbound 1.5 or later is required.` -.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M8.*) +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 090000 && \ + exists(/usr/include/unbound.h) CONFIGURE_ARGS+= --without-unbound .else PLIST.unbound= yes |