pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Restrict lirc to Linux platform



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cb5664211a5
branches:  trunk
changeset: 397724:5cb5664211a5
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jul 02 12:51:34 2019 +0000

description:
Restrict lirc to Linux platform

Pointed by leot@, thank you.

diffstat:

 audio/pulseaudio/options.mk |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 4cc221faf5ec -r 5cb5664211a5 audio/pulseaudio/options.mk
--- a/audio/pulseaudio/options.mk       Tue Jul 02 12:24:21 2019 +0000
+++ b/audio/pulseaudio/options.mk       Tue Jul 02 12:51:34 2019 +0000
@@ -1,11 +1,14 @@
-# $NetBSD: options.mk,v 1.11 2019/07/02 03:30:18 ryoon Exp $
+# $NetBSD: options.mk,v 1.12 2019/07/02 12:51:34 ryoon Exp $
 
 .include "../../comms/lirc/available.mk"
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pulseaudio
-PKG_SUPPORTED_OPTIONS= avahi fftw gsettings x11 lirc
+PKG_SUPPORTED_OPTIONS= avahi fftw gsettings x11
+.if ${LIRC_AVAILABLE} == "yes"
+PKG_SUPPORTED_OPTIONS+=        lirc
+.endif
 PKG_SUGGESTED_OPTIONS= avahi x11
-PLIST_VARS+=           ${PKG_SUPPORTED_OPTIONS}
+PLIST_VARS+=           avahi fftw gsettings x11 lirc
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index