diff options
author | abs <abs> | 2002-06-25 08:17:33 +0000 |
---|---|---|
committer | abs <abs> | 2002-06-25 08:17:33 +0000 |
commit | 77efb07a402383cb5c36b882660a255873141beb (patch) | |
tree | ccebb9f3d37338424618d2a443bbb033d0636d25 | |
parent | 1724bdf22472f6d0b6f2a8a61451b5a8eb11ff4a (diff) | |
download | pkgsrc-77efb07a402383cb5c36b882660a255873141beb.tar.gz |
work with pth-syscall as well as pth
-rw-r--r-- | audio/xmms/Makefile | 7 |
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 |