diff options
author | nia <nia@pkgsrc.org> | 2020-11-20 11:40:09 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-11-20 11:40:09 +0000 |
commit | 1da2d749cc793501e505c53396d766404f36469f (patch) | |
tree | af4946baad7b303a0be3a0c4204e8902f5f9c179 | |
parent | 86f31d45dc2daa6565337d8796d145888ce31491 (diff) | |
download | pkgsrc-1da2d749cc793501e505c53396d766404f36469f.tar.gz |
gst-plugins1-oss: Skip if platform doesn't have OSS
-rw-r--r-- | audio/gst-plugins1-oss/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/gst-plugins1-oss/Makefile b/audio/gst-plugins1-oss/Makefile index c494d792ad1..1535d11f62b 100644 --- a/audio/gst-plugins1-oss/Makefile +++ b/audio/gst-plugins1-oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2020/03/08 16:48:43 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2020/11/20 11:40:09 nia Exp $ GST_PLUGINS1_NAME= oss GST_PLUGINS1_DIRS= sys/oss @@ -15,4 +15,9 @@ SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g' LIBS+= ${LIBOSSAUDIO} .include "../../mk/oss.buildlink3.mk" + +.if ${OSS_TYPE} == "none" +PKG_SKIP_REASON+= "No OSS implementation available." +.endif + .include "../../mk/bsd.pkg.mk" |