summaryrefslogtreecommitdiff
path: root/audio
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
parent7211f5b6419f149d249e0399b4a9277be8c283f8 (diff)
downloadpkgsrc-a509ca3cc41d6035953eebfeb613a63f0efda15e.tar.gz
Clean-up; On Darwin, xmp uses CoreAudio, so do not suggest any other options.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmp/Makefile9
-rw-r--r--audio/xmp/options.mk10
2 files changed, 8 insertions, 11 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 7c77683bf2d..77d0845fa7c 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2013/12/10 07:14:45 rxg Exp $
+# $NetBSD: Makefile,v 1.41 2014/02/24 20:41:17 adam Exp $
DISTNAME= xmp-4.0.6
PKGREVISION= 2
@@ -10,19 +10,14 @@ HOMEPAGE= http://xmp.sourceforge.net/
COMMENT= Player for many different Amiga and PC module formats
LICENSE= gnu-gpl-v2
-MAKE_JOBS_SAFE= no
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
-
USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/xmp
CONF_FILES= ${EGDIR}/modules.conf ${PKG_SYSCONFDIR}/xmp/modules.conf
CONF_FILES+= ${EGDIR}/xmp.conf ${PKG_SYSCONFDIR}/xmp/xmp.conf
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
-
INSTALL_MAKE_FLAGS+= INSTALL=${INSTALL:Q}
.include "options.mk"
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"