summaryrefslogtreecommitdiff
path: root/devel/dlcompat
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-05 07:01:19 +0000
committerjlam <jlam>2004-12-05 07:01:19 +0000
commitf2be7a7b08fda3ff1dabfb71c7bb226beab7b7b9 (patch)
tree5b8c0ab74af121e70a19b971b8736cad4ee25c39 /devel/dlcompat
parent5b686f88825cc1c51334018303f95e9a1cc20e52 (diff)
downloadpkgsrc-f2be7a7b08fda3ff1dabfb71c7bb226beab7b7b9.tar.gz
Rename some variables to be more dlcompat-specific, and remove a
redundant conditional.
Diffstat (limited to 'devel/dlcompat')
-rw-r--r--devel/dlcompat/builtin.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/dlcompat/builtin.mk b/devel/dlcompat/builtin.mk
index b9a6c371301..f8596d87a55 100644
--- a/devel/dlcompat/builtin.mk
+++ b/devel/dlcompat/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.4 2004/12/05 06:59:21 jlam Exp $
+# $NetBSD: builtin.mk,v 1.5 2004/12/05 07:01:19 jlam Exp $
.for _lib_ in dl
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -15,17 +15,15 @@ BUILDLINK_VARS+= _BLNK_LIB_FOUND.${_lib_}
.endfor
.undef _lib_
-_DL_H= /usr/include/dlfcn.h
+_DLFCN_H= /usr/include/dlfcn.h
.if !defined(IS_BUILTIN.dlcompat)
IS_BUILTIN.dlcompat= no
-. if !empty(_BLNK_LIB_FOUND.dl:M[yY][eE][sS]) && exists(${_DL_H})
+. if !empty(_BLNK_LIB_FOUND.dl:M[yY][eE][sS]) && exists(${_DLFCN_H})
IS_BUILTIN.dlcompat= yes
-. if !empty(IS_BUILTIN.dlcompat:M[yY][eE][sS])
-_DL_VERSION= 20030629
-BUILTIN_PKG.dlcompat= dlcompat-${_DL_VERSION}
+_DLCOMPAT_VERSION= 20030629
+BUILTIN_PKG.dlcompat= dlcompat-${_DLCOMPAT_VERSION}
BUILDLINK_VARS+= BUILTIN_PKG.dlcompat
-. endif
. endif
BUILDLINK_VARS+= IS_BUILTIN.dlcompat
.endif # IS_BUILTIN.dlcompat