summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-10 12:59:05 +0000
committergrant <grant@pkgsrc.org>2003-04-10 12:59:05 +0000
commita5cb99693ca1a7acbbe12a401e97b99da9ceef50 (patch)
tree2725e0764945aac2204a163357f8d81df93a11de /audio/xmms
parentd4d3384cfaa70224028087b10f2e1d1aee580958 (diff)
downloadpkgsrc-a5cb99693ca1a7acbbe12a401e97b99da9ceef50.tar.gz
xmms installs `libSolaris' on Solaris, not `libOSS', tweak the PLIST
appropriately. XXX other platforms probably need to be corrected, too!
Diffstat (limited to 'audio/xmms')
-rw-r--r--audio/xmms/Makefile14
-rw-r--r--audio/xmms/PLIST8
2 files changed, 14 insertions, 8 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile
index da12d0c3a17..4970b623c67 100644
--- a/audio/xmms/Makefile
+++ b/audio/xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2003/03/09 20:13:04 jschauma Exp $
+# $NetBSD: Makefile,v 1.42 2003/04/10 12:59:05 grant Exp $
#
DISTNAME= xmms-1.2.7
@@ -34,13 +34,13 @@ PTHREAD_OPTS+= require
CONFIGURE_ARGS+= --enable-ipv6
.endif
-.if (${OPSYS} == NetBSD)
+.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND}
CPPFLAGS+= -DHAVE_NANOSLEEP=1
-. if (${MACHINE_ARCH} == i386)
+. if ${MACHINE_ARCH} == "i386"
post-patch:
-. if (${OBJECT_FMT} == a.out)
+. if ${OBJECT_FMT} == "a.out"
${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/Input/mpg123/decode_i586.s
. endif
cd ${WRKSRC}/Input/mpg123 && \
@@ -49,6 +49,12 @@ post-patch:
. endif
.endif
+.if ${OPSYS} == "SunOS"
+PLIST_SUBST+= LIBAUDIO=libSolaris
+.else
+PLIST_SUBST+= LIBAUDIO=libOSS
+.endif
+
.include "../../audio/esound/buildlink2.mk"
.include "../../audio/libmikmod/buildlink2.mk"
.include "../../audio/libvorbis/buildlink2.mk"
diff --git a/audio/xmms/PLIST b/audio/xmms/PLIST
index 07889f06eb1..6bc46d1b780 100644
--- a/audio/xmms/PLIST
+++ b/audio/xmms/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/03/21 18:52:31 drochner Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/04/10 12:59:05 grant Exp $
bin/wmxmms
bin/xmms
bin/xmms-config
@@ -51,9 +51,9 @@ lib/xmms/Input/libvorbis.so
lib/xmms/Input/libwav.la
lib/xmms/Input/libwav.a
lib/xmms/Input/libwav.so
-lib/xmms/Output/libOSS.la
-lib/xmms/Output/libOSS.a
-lib/xmms/Output/libOSS.so
+lib/xmms/Output/${LIBAUDIO}.la
+lib/xmms/Output/${LIBAUDIO}.a
+lib/xmms/Output/${LIBAUDIO}.so
lib/xmms/Output/libdisk_writer.la
lib/xmms/Output/libdisk_writer.a
lib/xmms/Output/libdisk_writer.so