diff options
author | jlam <jlam@pkgsrc.org> | 2002-11-05 19:25:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-11-05 19:25:07 +0000 |
commit | 9227f619700ef009364a1f54d98b83e5a75eaee7 (patch) | |
tree | a1a28298bc3b32c52273714b25a1a5777a1f713e /devel/SDL | |
parent | 5db49f4f4a9697fdb82f62860e545c0e1e96cb9d (diff) | |
download | pkgsrc-9227f619700ef009364a1f54d98b83e5a75eaee7.tar.gz |
Re-add lines accidentally removed in previous commit. Thanks wiz!
Diffstat (limited to 'devel/SDL')
-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" |