summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-08-29 04:40:53 +0000
committerben <ben@pkgsrc.org>2006-08-29 04:40:53 +0000
commit59ca0214c7714c7424f0f31f7411444b3de7acb2 (patch)
tree78ff601b4b27fd8870e46b2b1c4ca7143bbcf0cd /audio
parent05905e6decc8a41f75f3fd676fc8b8dba71a79fc (diff)
downloadpkgsrc-59ca0214c7714c7424f0f31f7411444b3de7acb2.tar.gz
Fix build on i386 Mac OS X 10.4.7.
Exclude modplugplay, which uses the OSS API.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-modplug/Makefile15
-rw-r--r--audio/xmms-modplug/PLIST4
2 files changed, 16 insertions, 3 deletions
diff --git a/audio/xmms-modplug/Makefile b/audio/xmms-modplug/Makefile
index d592c07e247..66049c0f9d8 100644
--- a/audio/xmms-modplug/Makefile
+++ b/audio/xmms-modplug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/09 21:04:42 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2006/08/29 04:40:53 ben Exp $
#
DISTNAME= modplugxmms-2.05
@@ -24,6 +24,19 @@ USE_LANGUAGES= c c++
PKG_INSTALLATION_TYPES= overwrite pkgviews
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+SUBST_CLASSES+= mpplay
+SUBST_MESSAGE.mpplay= Skipping modplugplay
+SUBST_STAGE.mpplay= pre-build
+SUBST_FILES.mpplay= Makefile
+SUBST_SED.mpplay= -e 's,^\(SUBDIRS = modplugxmms glade\) modplugplay,\1,'
+
+PLIST_SUBST+= NOTFOROSX="@comment "
+.else
+PLIST_SUBST+= NOTFOROSX=""
+.endif
+
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
diff --git a/audio/xmms-modplug/PLIST b/audio/xmms-modplug/PLIST
index 35ba988a2f3..804c3eacf48 100644
--- a/audio/xmms-modplug/PLIST
+++ b/audio/xmms-modplug/PLIST
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:19 jlam Exp $
-bin/modplugplay
+@comment $NetBSD: PLIST,v 1.3 2006/08/29 04:40:53 ben Exp $
+${NOTFOROSX}bin/modplugplay
lib/xmms/Input/libmodplugxmms.la