From 8c47e0f2e5e2a1995b388b23220a84dd86d379bf Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 29 Aug 2006 04:40:53 +0000 Subject: Fix build on i386 Mac OS X 10.4.7. Exclude modplugplay, which uses the OSS API. --- audio/xmms-modplug/Makefile | 15 ++++++++++++++- audio/xmms-modplug/PLIST | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'audio/xmms-modplug') 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 -- cgit v1.2.3