pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-modplug Fix build on i386 Mac OS X 10.4.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5665032d252f
branches:  trunk
changeset: 518018:5665032d252f
user:      ben <ben%pkgsrc.org@localhost>
date:      Tue Aug 29 04:40:53 2006 +0000

description:
Fix build on i386 Mac OS X 10.4.7.
Exclude modplugplay, which uses the OSS API.

diffstat:

 audio/xmms-modplug/Makefile |  15 ++++++++++++++-
 audio/xmms-modplug/PLIST    |   4 ++--
 2 files changed, 16 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 9d0391b1225e -r 5665032d252f audio/xmms-modplug/Makefile
--- a/audio/xmms-modplug/Makefile       Tue Aug 29 00:59:37 2006 +0000
+++ b/audio/xmms-modplug/Makefile       Tue Aug 29 04:40:53 2006 +0000
@@ -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 @@
 
 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 -r 9d0391b1225e -r 5665032d252f audio/xmms-modplug/PLIST
--- a/audio/xmms-modplug/PLIST  Tue Aug 29 00:59:37 2006 +0000
+++ b/audio/xmms-modplug/PLIST  Tue Aug 29 04:40:53 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index