pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/ossinfo ossinfo: Use OPSYS_VERSION to numericall...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/173bc0919718
branches:  trunk
changeset: 378708:173bc0919718
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:28:16 2022 +0000

description:
ossinfo: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 audio/ossinfo/Makefile.common |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r abb9b461d219 -r 173bc0919718 audio/ossinfo/Makefile.common
--- a/audio/ossinfo/Makefile.common     Thu May 05 08:27:13 2022 +0000
+++ b/audio/ossinfo/Makefile.common     Thu May 05 08:28:16 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2021/05/13 09:19:32 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2022/05/05 08:28:16 nia Exp $
 # Common Makefile logic for commands included with the OSSv4 distribution.
 
 # used by audio/ossinfo/Makefile
@@ -27,8 +27,7 @@
 LDFLAGS+=      ${LIBOSSAUDIO}
 
 .if ${OSS_TYPE} == "none" || \
-    (${OPSYS} == "NetBSD" && \
-       (!empty(OS_VERSION:M[5-9].*) && empty(OS_VERSION:M9.99.*)))
+    (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099983)
 PKG_SKIP_REASON+=      "Requires OSSv4 support"
 .endif
 



Home | Main Index | Thread Index | Old Index