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