pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/gst-plugins1-oss gst-plugins1-oss: Skip if platf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97f92663865e
branches:  trunk
changeset: 442191:97f92663865e
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Nov 20 11:40:09 2020 +0000

description:
gst-plugins1-oss: Skip if platform doesn't have OSS

diffstat:

 audio/gst-plugins1-oss/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8134c3f3f775 -r 97f92663865e audio/gst-plugins1-oss/Makefile
--- a/audio/gst-plugins1-oss/Makefile   Fri Nov 20 11:35:35 2020 +0000
+++ b/audio/gst-plugins1-oss/Makefile   Fri Nov 20 11:40:09 2020 +0000
@@ -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 @@
 LIBS+=                 ${LIBOSSAUDIO}
 
 .include "../../mk/oss.buildlink3.mk"
+
+.if ${OSS_TYPE} == "none"
+PKG_SKIP_REASON+=      "No OSS implementation available."
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index