pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk When PTHREAD_TYPE is 'native' set USE_BUILTIN.pthre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec5ce5d356fe
branches: trunk
changeset: 471611:ec5ce5d356fe
user: seb <seb%pkgsrc.org@localhost>
date: Mon Mar 29 15:16:58 2004 +0000
description:
When PTHREAD_TYPE is 'native' set USE_BUILTIN.pthread to YES and
add 'pthread' to BUILDLINK_PACKAGES so that
BUILDLINK_{{LD,C}FLAGS,LDADD}.pthread actually have an effect.
This should fix the build of at least tcl/tk related packages now
that tcl and tk packages are thread-aware.
Remove comments about linking native pthread libraries and headers into
${BUILDLINK_DIR} as this does not happen.
diffstat:
mk/pthread.buildlink3.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 7738d7bd7895 -r ec5ce5d356fe mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk Mon Mar 29 15:12:57 2004 +0000
+++ b/mk/pthread.buildlink3.mk Mon Mar 29 15:16:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.3 2004/03/18 09:12:13 jlam Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.4 2004/03/29 15:16:58 seb Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). A package that uses
@@ -141,9 +141,9 @@
.endif
.if ${PTHREAD_TYPE} == "native"
-#
-# Link the native pthread libraries and headers into ${BUILDLINK_DIR}.
-#
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread}
+BUILDLINK_PACKAGES+= pthread
+USE_BUILTIN.pthread= YES
BUILDLINK_PREFIX.pthread= /usr
BUILDLINK_CFLAGS.pthread= -pthread
BUILDLINK_LDFLAGS.pthread= # empty
Home |
Main Index |
Thread Index |
Old Index