pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ncurses Actually, BUILTIN_LIBNAME.ncurses can be...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04ec22383455
branches:  trunk
changeset: 539169:04ec22383455
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Feb 29 16:19:21 2008 +0000

description:
Actually, BUILTIN_LIBNAME.ncurses can be empty, but fix the case where
we actually have libnurses in the base system.

diffstat:

 devel/ncurses/builtin.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 53a9a7a2f86f -r 04ec22383455 devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk  Fri Feb 29 16:14:09 2008 +0000
+++ b/devel/ncurses/builtin.mk  Fri Feb 29 16:19:21 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.22 2008/02/29 16:14:09 jlam Exp $
+# $NetBSD: builtin.mk,v 1.23 2008/02/29 16:19:21 jlam Exp $
 
 BUILTIN_PKG:=  ncurses
 
@@ -103,9 +103,9 @@
 # Define BUILTIN_LIBNAME.ncurses to be the base name of the built-in
 # ncurses library.
 #
+.if !empty(BUILTIN_LIB_FOUND.ncurses:M[yY][eE][sS])
 BUILTIN_LIBNAME.ncurses=       ncurses
-.if !empty(BUILTIN_LIB_FOUND.ncurses:M[nN][oO]) && \
-    !empty(BUILTIN_LIB_FOUND.curses:M[yY][eE][sS])
+.elif !empty(BUILTIN_LIB_FOUND.curses:M[yY][eE][sS])
 BUILTIN_LIBNAME.ncurses=       curses
 .endif
 #



Home | Main Index | Thread Index | Old Index