pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Clarify why dlopen.builtin.mk ignores PREFER_* values.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/132c8b4c6aca
branches:  trunk
changeset: 495417:132c8b4c6aca
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jun 09 05:59:51 2005 +0000

description:
Clarify why dlopen.builtin.mk ignores PREFER_* values.

diffstat:

 mk/dlopen.builtin.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 46bcb3844281 -r 132c8b4c6aca mk/dlopen.builtin.mk
--- a/mk/dlopen.builtin.mk      Thu Jun 09 02:38:43 2005 +0000
+++ b/mk/dlopen.builtin.mk      Thu Jun 09 05:59:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.builtin.mk,v 1.12 2005/06/08 08:13:05 jlam Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.13 2005/06/09 05:59:51 jlam Exp $
 
 BUILTIN_PKG:=  dl
 
@@ -25,6 +25,11 @@
 ### Determine whether we should use the built-in implementation if it
 ### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
 ###
+#
+# We ignore the value of PREFER_PKGSRC and PREFER_NATIVE because for
+# every platform except for Darwin, we can only use the built-in
+# dynamic linker functions, so USE_BUILTIN.dl must match IS_BUILTIN.dl.
+#
 .if !defined(USE_BUILTIN.dl)
 USE_BUILTIN.dl=                ${IS_BUILTIN.dl}
 .  if ${OPSYS} == "Darwin"



Home | Main Index | Thread Index | Old Index