diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDL/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile index 364125fee8f..a19abd09b66 100644 --- a/devel/SDL/Makefile +++ b/devel/SDL/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2002/10/31 22:19:49 jlam Exp $ +# $NetBSD: Makefile,v 1.44 2002/11/05 19:25:07 jlam Exp $ # DISTNAME= SDL-1.2.5 @@ -53,4 +53,10 @@ MAKE_ENV+= AM_CFLAGS="${AM_CFLAGS}" .include "../../graphics/aalib-x11/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth") +# Let SDL know that we do not have native pthreads and are using GNU pth. +CONFIGURE_ARGS+= --disable-pthreads +CONFIGURE_ARGS+= --enable-pth +.endif + .include "../../mk/bsd.pkg.mk" |