pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Don't append BUILDLINK_CFLAGS.pthread to itself if ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75bc209583f0
branches:  trunk
changeset: 484214:75bc209583f0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Nov 26 08:18:30 2004 +0000

description:
Don't append BUILDLINK_CFLAGS.pthread to itself if pthread.builtin.mk
gets included multiple times.

diffstat:

 mk/pthread.builtin.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5efb343b8d14 -r 75bc209583f0 mk/pthread.builtin.mk
--- a/mk/pthread.builtin.mk     Fri Nov 26 08:15:25 2004 +0000
+++ b/mk/pthread.builtin.mk     Fri Nov 26 08:18:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.builtin.mk,v 1.3 2004/11/26 08:12:59 jlam Exp $
+# $NetBSD: pthread.builtin.mk,v 1.4 2004/11/26 08:18:30 jlam Exp $
 
 .for _lib_ in pthread c_r rt
 .  if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -38,6 +38,7 @@
 
 .if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
 BUILDLINK_PREFIX.pthread=      /usr
+BUILDLINK_CFLAGS.pthread=      # empty
 BUILDLINK_LDFLAGS.pthread=     # empty
 
 # only pass -pthread on platforms known to support it.



Home | Main Index | Thread Index | Old Index