summaryrefslogtreecommitdiff
path: root/audio/xmms/Makefile.common
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-05-12 18:50:21 +0000
committerdrochner <drochner@pkgsrc.org>2004-05-12 18:50:21 +0000
commite4e7176284f54533cf5b4b736c2bd65e87f7e2e8 (patch)
tree09c03f497090683811887aed9581e64c439c8d43 /audio/xmms/Makefile.common
parent8c979b80d647549c1343c4846cc963a46c6125a1 (diff)
downloadpkgsrc-e4e7176284f54533cf5b4b736c2bd65e87f7e2e8.tar.gz
-make sure the NetBSD <soundcard.h> is found instead of the version
which comes with xmms, and link in -lossaudio -fix the sun audio configuration dialog to avoid double unlocking of mutexes which NetBSD's libpthread gets mad about
Diffstat (limited to 'audio/xmms/Makefile.common')
-rw-r--r--audio/xmms/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/xmms/Makefile.common b/audio/xmms/Makefile.common
index 6019ce4a815..95471ed9d04 100644
--- a/audio/xmms/Makefile.common
+++ b/audio/xmms/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2004/05/06 18:10:20 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.10 2004/05/12 18:50:21 drochner Exp $
#
DISTNAME= xmms-1.2.10
@@ -45,8 +45,8 @@ CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \
--with-cdda-dir=/cdrom/
CPPFLAGS+= -DHAVE_NANOSLEEP=1
-. if ${MACHINE_ARCH} == "i386"
post-patch:
+. if ${MACHINE_ARCH} == "i386"
. if ${OBJECT_FMT} == "a.out"
${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/Input/mpg123/decode_i586.s
. endif
@@ -54,6 +54,7 @@ post-patch:
${MV} decode_i586.s decode_i586.s.orig && \
${SED} -e 's@^/@#/@g' <decode_i586.s.orig >decode_i586.s
. endif
+ ${RM} -f ${WRKSRC}/Output/OSS/soundcard.h
.endif
.if ${OPSYS} == "SunOS"