pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk If we are using native pthreads, then add "pthread"...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2bdccd95d978
branches: trunk
changeset: 483332:2bdccd95d978
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Nov 10 17:29:37 2004 +0000
description:
If we are using native pthreads, then add "pthread" to BUILDLINK_PACKAGES
so that the buildlink3 framework knows to use the various
BUILDLINK_*.pthread variables. This fixes a long-standing and long-
overlooked bug in pthread.buildlink3.mk that has existed since the
buildlink3 framework was initially committed.
As a result of this change, modifications to packages to introduce
PTHREAD_{CFLAGS,LDFLAGS} in various places to either the configure script
or into Makefiles are probably no longer needed.
diffstat:
mk/pthread.buildlink3.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 7fc9176539e2 -r 2bdccd95d978 mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk Wed Nov 10 17:26:04 2004 +0000
+++ b/mk/pthread.buildlink3.mk Wed Nov 10 17:29:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.11 2004/07/27 11:30:55 xtraeme Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.12 2004/11/10 17:29:37 jlam Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). A package that uses
@@ -141,6 +141,8 @@
.endif
.if ${PTHREAD_TYPE} == "native"
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread}
+BUILDLINK_PACKAGES+= pthread
#
# Link the native pthread libraries and headers into ${BUILDLINK_DIR}.
#
Home |
Main Index |
Thread Index |
Old Index