summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-06-24 20:25:25 +0000
committertron <tron@pkgsrc.org>2002-06-24 20:25:25 +0000
commit36dd4c1f2acc65b160c423934495d379a139aa66 (patch)
tree6b227c5a1459671856954a4888e396b5a96ec091 /devel
parent1de08dc66a773827629c5763bc7c4e37817b4633 (diff)
downloadpkgsrc-36dd4c1f2acc65b160c423934495d379a139aa66.tar.gz
Use native POSIX threads if operating system provides them. This fixes
PR pkg/17177 by Julio Merino and PR pkg/17259 by Lubomir Sedlacik.
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL/Makefile6
-rw-r--r--devel/SDL/buildlink.mk6
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index aae284245be..ee94ca39dff 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/06/15 21:33:50 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2002/06/24 20:25:25 tron Exp $
#
DISTNAME= SDL-1.2.3
@@ -20,6 +20,8 @@ USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+USE_PTHREAD= native pth
+
.include "../../mk/bsd.prefs.mk"
.if ${OBJECT_FMT} == "ELF"
@@ -56,9 +58,9 @@ post-configure:
cd ${WRKSRC}/src/audio && ${CP} *.[ch] netbsd/
.include "../../audio/esound/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
.include "../../graphics/aalib-x11/buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/SDL/buildlink.mk b/devel/SDL/buildlink.mk
index 3758bc05236..85b3d831f9a 100644
--- a/devel/SDL/buildlink.mk
+++ b/devel/SDL/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.13 2002/01/31 13:53:41 agc Exp $
+# $NetBSD: buildlink.mk,v 1.14 2002/06/24 20:25:26 tron Exp $
#
# This Makefile fragment is included by packages that use SDL.
#
@@ -26,6 +26,8 @@ BUILDLINK_FILES.SDL= include/SDL/*
BUILDLINK_FILES.SDL+= lib/libSDL.*
BUILDLINK_FILES.SDL+= lib/libSDLmain.*
+USE_PTHREAD= native pth
+
.include "../../mk/bsd.prefs.mk"
REPLACE_BUILDLINK_SED+= \
@@ -35,9 +37,9 @@ REPLACE_BUILDLINK_SED+= \
.include "../../audio/nas/buildlink.mk"
.endif
.include "../../audio/esound/buildlink.mk"
-.include "../../devel/pth/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
.include "../../graphics/aalib-x11/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
BUILDLINK_TARGETS.SDL= SDL-buildlink
BUILDLINK_TARGETS.SDL+= SDL-buildlink-config-wrapper