pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Append to BUILDLINK_DEPENDS.<pkg> instead of overri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ec6cca4649b
branches:  trunk
changeset: 467019:1ec6cca4649b
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jan 25 16:17:37 2004 +0000

description:
Append to BUILDLINK_DEPENDS.<pkg> instead of overriding it so that the
most restrictive dependency is always part of the DEPENDS/BUILD_DEPENDS
list.

diffstat:

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

diffs (18 lines):

diff -r 76a56de60e17 -r 1ec6cca4649b mk/pthread.buildlink3.mk
--- a/mk/pthread.buildlink3.mk  Sun Jan 25 16:14:15 2004 +0000
+++ b/mk/pthread.buildlink3.mk  Sun Jan 25 16:17:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.2 2004/01/25 16:17: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
@@ -163,7 +163,7 @@
 .elif ${PTHREAD_TYPE} == "${_PKG_PTHREAD}"
 .  if exists(${_PKG_PTHREAD_BUILDLINK3_MK})
 .    if !empty(_PKG_PTHREAD_DEPENDS)
-BUILDLINK_DEPENDS.${_PKG_PTHREAD}=     ${_PKG_PTHREAD_DEPENDS}
+BUILDLINK_DEPENDS.${_PKG_PTHREAD}+=    ${_PKG_PTHREAD_DEPENDS}
 .    endif
 BUILDLINK_PREFIX.pthread=      ${BUILDLINK_PREFIX.${_PKG_PTHREAD}}
 BUILDLINK_CFLAGS.pthread=      ${BUILDLINK_CFLAGS.${_PKG_PTHREAD}}



Home | Main Index | Thread Index | Old Index