summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-05 08:25:30 +0000
committernia <nia@pkgsrc.org>2022-05-05 08:25:30 +0000
commitb925040dd33c763307dea5f12a3f076b8c2a752c (patch)
treee669c160bec331eaf4c415c0067418dc43fbe500 /audio
parent958e31a8d93133afeddde3236fd98bd40fb89dd5 (diff)
downloadpkgsrc-b925040dd33c763307dea5f12a3f076b8c2a752c.tar.gz
pulseaudio: Use OPSYS_VERSION to numerically compare NetBSD versions
XXX do we still want to support hacks for pulseaudio on NetBSD 4?
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index ae6eb04e8c0..eb47eda7d9b 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.169 2022/03/28 10:43:38 tnn Exp $
+# $NetBSD: Makefile,v 1.170 2022/05/05 08:25:30 nia Exp $
DISTNAME= pulseaudio-15.0
PKGREVISION= 2
@@ -54,7 +54,7 @@ REPLACE_BASH+= src/utils/pa-info
.include "../../mk/bsd.prefs.mk"
# broken test for TLS
-.if ((${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)) || \
+.if ((${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000) || \
(${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mclang)))
CONFIGURE_ENV+= ac_cv_tls=none
.endif