summaryrefslogtreecommitdiff
path: root/comms/asterisk18/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk18/Makefile')
-rw-r--r--comms/asterisk18/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile
index d8192147255..083ac1f534e 100644
--- a/comms/asterisk18/Makefile
+++ b/comms/asterisk18/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2022/04/18 19:10:33 adam Exp $
+# $NetBSD: Makefile,v 1.139 2022/05/05 08:20:09 nia Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -51,8 +51,7 @@ CONFIGURE_ARGS+= --without-gtk2
# XXX remove when lang/lua gets builtin.mk
CONFIGURE_ARGS+= --without-lua
-.if (${OPSYS} == "NetBSD" && \
- (empty(OS_VERSION:M6.99.[4-9]?) && empty(OS_VERSION:M[7-9].*)))
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 069900
CONFIGURE_ARGS+= --without-srtp
.else
CONFIGURE_ARGS+= --with-srtp