summaryrefslogtreecommitdiff
path: root/audio/xmp/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-02-24 20:41:17 +0000
committeradam <adam@pkgsrc.org>2014-02-24 20:41:17 +0000
commita509ca3cc41d6035953eebfeb613a63f0efda15e (patch)
treeab208d698cf302561aace46e622c90634160ddda /audio/xmp/options.mk
parent7211f5b6419f149d249e0399b4a9277be8c283f8 (diff)
downloadpkgsrc-a509ca3cc41d6035953eebfeb613a63f0efda15e.tar.gz
Clean-up; On Darwin, xmp uses CoreAudio, so do not suggest any other options.
Diffstat (limited to 'audio/xmp/options.mk')
-rw-r--r--audio/xmp/options.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/xmp/options.mk b/audio/xmp/options.mk
index 268074aef20..2eda175f0ae 100644
--- a/audio/xmp/options.mk
+++ b/audio/xmp/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2013/11/16 07:41:02 shattered Exp $
+# $NetBSD: options.mk,v 1.4 2014/02/24 20:41:17 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xmp
# XXX configure.ac is broken, you cannot disable oss and alsa at the moment.
@@ -8,11 +8,13 @@ PKG_SUPPORTED_OPTIONS= alsa arts esound nas oss pulseaudio
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS= alsa
-.elif ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
-# No native support for these OS's, so use esound for audio output
+.elif ${OPSYS} == "Interix"
+# No native support for this OS, so use esound for audio output
PKG_SUGGESTED_OPTIONS= esound
-.endif
+# On Darwin, xmp uses CoreAudio
+.elif ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= pulseaudio
+.endif
.include "../../mk/bsd.options.mk"