diff options
author | nia <nia@pkgsrc.org> | 2021-05-13 09:19:32 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-13 09:19:32 +0000 |
commit | 9d5933230f78288f85dc16add615c03f900df657 (patch) | |
tree | e03dcd5b8560dc3bd63566d395d0a1bfb79b666a | |
parent | 90c9e2bc53fb7cffd56d0a782e92d39e1a67ea0b (diff) | |
download | pkgsrc-9d5933230f78288f85dc16add615c03f900df657.tar.gz |
ossinfo: skip if no OSS is found
-rw-r--r-- | audio/ossinfo/Makefile.common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/ossinfo/Makefile.common b/audio/ossinfo/Makefile.common index 76205034558..8b057d3d1cc 100644 --- a/audio/ossinfo/Makefile.common +++ b/audio/ossinfo/Makefile.common @@ -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 @@ ONLY_FOR_PLATFORM+= SunOS-*-* 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 |