summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-26 09:32:06 +0000
committerjlam <jlam>2004-11-26 09:32:06 +0000
commit2dec04e857f0db517d89e9f17d8383f35a16ab34 (patch)
tree1b1346bb23a445a6768af58bdc1ba7066fac5a7d /mk
parentd64b0594f20a84537228069bfc3b7497d265590d (diff)
downloadpkgsrc-2dec04e857f0db517d89e9f17d8383f35a16ab34.tar.gz
Check that USE_BUILTIN.dl is "yes", not that it's just defined.
Diffstat (limited to 'mk')
-rw-r--r--mk/dlopen.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/dlopen.buildlink3.mk b/mk/dlopen.buildlink3.mk
index 345cb3109a7..ca35c6cc2e7 100644
--- a/mk/dlopen.buildlink3.mk
+++ b/mk/dlopen.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.buildlink3.mk,v 1.7 2004/11/26 07:05:19 jlam Exp $
+# $NetBSD: dlopen.buildlink3.mk,v 1.8 2004/11/26 09:32:06 jlam Exp $
#
# This Makefile fragment is included by package Makefiles and
# buildlink3.mk files for the packages that use dlopen().
@@ -15,7 +15,7 @@ CHECK_BUILTIN.dl:= no
DL_AUTO_VARS?= no
-.if !empty(USE_BUILTIN.dl)
+.if !empty(USE_BUILTIN.dl:M[yY][eE][sS])
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndl}
BUILDLINK_PACKAGES+= dl
BUILDLINK_BUILTIN_MK.dl= ../../mk/dlopen.builtin.mk