pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/ossinfo ossinfo: skip if no OSS is found



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e611a7a62620
branches:  trunk
changeset: 452553:e611a7a62620
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 13 09:19:32 2021 +0000

description:
ossinfo: skip if no OSS is found

diffstat:

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

diffs (21 lines):

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



Home | Main Index | Thread Index | Old Index