diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-09 05:59:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-09 05:59:51 +0000 |
commit | b753b0d414ac684314841cf0bd35ac84a7cc9b19 (patch) | |
tree | 18f0416b2c607d59e15203ff5933d11d40b3bcec /mk | |
parent | 071a949de4894b0f2bb2a560abaa2c68faeb1803 (diff) | |
download | pkgsrc-b753b0d414ac684314841cf0bd35ac84a7cc9b19.tar.gz |
Clarify why dlopen.builtin.mk ignores PREFER_* values.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/dlopen.builtin.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk index 9b586306c61..655d1ed107b 100644 --- a/mk/dlopen.builtin.mk +++ b/mk/dlopen.builtin.mk @@ -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 @@ MAKEVARS+= IS_BUILTIN.dl ### 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" |