pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/ossinfo
Module Name: pkgsrc
Committed By: nia
Date: Thu May 5 08:28:16 UTC 2022
Modified Files:
pkgsrc/audio/ossinfo: Makefile.common
Log Message:
ossinfo: Use OPSYS_VERSION to numerically compare NetBSD versions
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/ossinfo/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/ossinfo/Makefile.common
diff -u pkgsrc/audio/ossinfo/Makefile.common:1.3 pkgsrc/audio/ossinfo/Makefile.common:1.4
--- pkgsrc/audio/ossinfo/Makefile.common:1.3 Thu May 13 09:19:32 2021
+++ pkgsrc/audio/ossinfo/Makefile.common Thu May 5 08:28:16 2022
@@ -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 @@ ONLY_FOR_PLATFORM+= SunOS-*-*
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