summaryrefslogtreecommitdiff
path: root/audio/xmms/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-06-25 08:17:33 +0000
committerabs <abs@pkgsrc.org>2002-06-25 08:17:33 +0000
commit4e1570afaba409d8e41ff842b74978b2152b292e (patch)
treeccebb9f3d37338424618d2a443bbb033d0636d25 /audio/xmms/Makefile
parent902f07db37beb9278eb0c40edf4a2a9d86c82532 (diff)
downloadpkgsrc-4e1570afaba409d8e41ff842b74978b2152b292e.tar.gz
work with pth-syscall as well as pth
Diffstat (limited to 'audio/xmms/Makefile')
-rw-r--r--audio/xmms/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile
index 1e2feabeb42..48f81dacc43 100644
--- a/audio/xmms/Makefile
+++ b/audio/xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2002/03/21 18:52:30 drochner Exp $
+# $NetBSD: Makefile,v 1.28 2002/06/25 08:17:33 abs Exp $
# FreeBSD: ports/audio/xmms/Makefile,v 1.9 2000/02/11 01:46:12 cpiazza Exp
DISTNAME= xmms-1.2.7
@@ -15,7 +15,6 @@ USE_LIBTOOL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
CONFIGURE_ARGS+= --without-gnome
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
@@ -45,3 +44,7 @@ post-patch:
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
+
+.if (${PTHREAD_TYPE} == pth) # XXX Remove after pth-syscall becomes pth
+CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
+.endif