From 77efb07a402383cb5c36b882660a255873141beb Mon Sep 17 00:00:00 2001 From: abs Date: Tue, 25 Jun 2002 08:17:33 +0000 Subject: work with pth-syscall as well as pth --- audio/xmms/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'audio/xmms') 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 -- cgit v1.2.3