diff options
author | ben <ben> | 2006-08-29 04:40:53 +0000 |
---|---|---|
committer | ben <ben> | 2006-08-29 04:40:53 +0000 |
commit | 8c47e0f2e5e2a1995b388b23220a84dd86d379bf (patch) | |
tree | 78ff601b4b27fd8870e46b2b1c4ca7143bbcf0cd | |
parent | ae8a9d9dad2acb08ce040dd6446843d4f0f15381 (diff) | |
download | pkgsrc-8c47e0f2e5e2a1995b388b23220a84dd86d379bf.tar.gz |
Fix build on i386 Mac OS X 10.4.7.
Exclude modplugplay, which uses the OSS API.
-rw-r--r-- | audio/xmms-modplug/Makefile | 15 | ||||
-rw-r--r-- | audio/xmms-modplug/PLIST | 4 |
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 |