pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Update DLOPEN_REQUIRE_PTHREADS pattern again.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab4d9f2c847a
branches: trunk
changeset: 553520:ab4d9f2c847a
user: obache <obache%pkgsrc.org@localhost>
date: Fri Jan 23 14:21:38 2009 +0000
description:
Update DLOPEN_REQUIRE_PTHREADS pattern again.
Even on NetBSD>=5, need to link pthread if using pthread_create()/join().
diffstat:
mk/dlopen.builtin.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 25ab34e77cde -r ab4d9f2c847a mk/dlopen.builtin.mk
--- a/mk/dlopen.builtin.mk Fri Jan 23 14:02:03 2009 +0000
+++ b/mk/dlopen.builtin.mk Fri Jan 23 14:21:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.builtin.mk,v 1.18 2009/01/23 13:07:25 obache Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.19 2009/01/23 14:21:38 obache Exp $
BUILTIN_PKG:= dl
@@ -42,13 +42,16 @@
# application if it uses dlopen() or else the applications will core
# dump when they dlopen a shared module that _is_ linked with pthread
# support.
+# It is not required for NetBSD>=5 if just linked with pthread or using
+# pthread_mutex_*(), but need if using pthread_create() / pthread_join().
#
_BLNK_DLOPEN_REQUIRE_PTHREAD_PLATFORMS= \
NetBSD-2.[0-9]_*-* \
NetBSD-2.[0-9]-* NetBSD-2.[0-9].[0-9]*-* \
NetBSD-2.[0-8][0-9]*-* NetBSD-2.9[0-8]*-* \
NetBSD-2.99.[0-9]-* NetBSD-2.99.10-* \
- NetBSD-[3-4]*-*
+ NetBSD-[3-9]*-* \
+ NetBSD-[1-9][0-9]*-*
.if !defined(_BLNK_DLOPEN_REQUIRE_PTHREADS)
_BLNK_DLOPEN_REQUIRE_PTHREADS?= no
Home |
Main Index |
Thread Index |
Old Index