summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-28 05:44:34 +0000
committerjlam <jlam@pkgsrc.org>2004-11-28 05:44:34 +0000
commit9636b9d697b3ca3f1fdc8e117c992caa6eb4d6d4 (patch)
treeadac6ab7494a2e81a8a8c44e05d8447c97f6cef6 /devel/ncurses
parent1b23aaf155a0f2a1dcaf074babe4b1b25aa266ca (diff)
downloadpkgsrc-9636b9d697b3ca3f1fdc8e117c992caa6eb4d6d4.tar.gz
Reverse the tests so that we actually check for the existence and not
the non-existence of the library -- this more accurately reflects what we want to say.
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/builtin.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/ncurses/builtin.mk b/devel/ncurses/builtin.mk
index 2abce9070d9..27130e070ac 100644
--- a/devel/ncurses/builtin.mk
+++ b/devel/ncurses/builtin.mk
@@ -1,14 +1,14 @@
-# $NetBSD: builtin.mk,v 1.5 2004/11/26 23:16:35 jlam Exp $
+# $NetBSD: builtin.mk,v 1.6 2004/11/28 05:44:34 jlam Exp $
.for _lib_ in ncurses
. if !defined(_BLNK_LIB_FOUND.${_lib_})
_BLNK_LIB_FOUND.${_lib_}!= \
- if ${TEST} "`${ECHO} /usr/lib/lib${_lib_}.*`" = "/usr/lib/lib${_lib_}.*"; then \
- ${ECHO} "no"; \
- elif ${TEST} "`${ECHO} /lib/lib${_lib_}.*`" = "/lib/lib${_lib_}.*"; then \
- ${ECHO} "no"; \
- else \
+ if ${TEST} "`${ECHO} /usr/lib/lib${_lib_}.*`" != "/usr/lib/lib${_lib_}.*"; then \
${ECHO} "yes"; \
+ elif ${TEST} "`${ECHO} /lib/lib${_lib_}.*`" != "/lib/lib${_lib_}.*"; then \
+ ${ECHO} "yes"; \
+ else \
+ ${ECHO} "no"; \
fi
BUILDLINK_VARS+= _BLNK_LIB_FOUND.${_lib_}
. endif