pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Only include pthreads if we prefer native pthreads....
details: https://anonhg.NetBSD.org/pkgsrc/rev/5eea6acffdda
branches: trunk
changeset: 484192:5eea6acffdda
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Nov 25 21:43:19 2004 +0000
description:
Only include pthreads if we prefer native pthreads. This allows building
pkgsrc without any pthreads if we don't want to.
diffstat:
mk/dlopen.buildlink3.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b1c664032b4e -r 5eea6acffdda mk/dlopen.buildlink3.mk
--- a/mk/dlopen.buildlink3.mk Thu Nov 25 21:42:59 2004 +0000
+++ b/mk/dlopen.buildlink3.mk Thu Nov 25 21:43:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.buildlink3.mk,v 1.1 2004/11/25 21:33:37 jlam Exp $
+# $NetBSD: dlopen.buildlink3.mk,v 1.2 2004/11/25 21:43:19 jlam Exp $
#
# This Makefile fragment is included by package Makefiles and
# buildlink3.mk files for the packages that use dlopen().
@@ -24,7 +24,9 @@
_DLOPEN_REQUIRE_PTHREADS?= no
.for _pattern_ in ${_DLOPEN_REQUIRE_PTHREAD_PLATFORMS}
. if !empty(MACHINE_PLATFORM:${_pattern_})
+. if !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS])
_DLOPEN_REQUIRE_PTHREADS= yes
+. endif
. endif
.endfor
Home |
Main Index |
Thread Index |
Old Index