summaryrefslogtreecommitdiff
path: root/comms/asterisk19/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk19/Makefile')
-rw-r--r--comms/asterisk19/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/comms/asterisk19/Makefile b/comms/asterisk19/Makefile
index e9256566d0f..3d1e8d5e0c0 100644
--- a/comms/asterisk19/Makefile
+++ b/comms/asterisk19/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/04/18 19:10:33 adam Exp $
+# $NetBSD: Makefile,v 1.6 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