pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk fixes for old bmake, undefined variable is not trea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35e413ca7ec4
branches:  trunk
changeset: 631605:35e413ca7ec4
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Mar 11 09:16:57 2014 +0000

description:
fixes for old bmake, undefined variable is not treated as empty.

diffstat:

 mk/terminfo.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ca1a792d0b14 -r 35e413ca7ec4 mk/terminfo.buildlink3.mk
--- a/mk/terminfo.buildlink3.mk Tue Mar 11 09:11:36 2014 +0000
+++ b/mk/terminfo.buildlink3.mk Tue Mar 11 09:16:57 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: terminfo.buildlink3.mk,v 1.5 2014/03/09 10:15:32 roy Exp $
+# $NetBSD: terminfo.buildlink3.mk,v 1.6 2014/03/11 09:16:57 obache Exp $
 #
 # This Makefile fragment is meant to be included by packages that require
 # any terminfo implementation instead of one particular one.  The available
@@ -74,7 +74,7 @@
 .if empty(TERMINFO_TYPE:Mnone)
 .  for _tcap_ in ${_TERMINFO_TYPES}
 .    if empty(TERMINFO_TYPE:M${_tcap_}) \
-       && (!defined(CURSES_TYPE) || empty(CURSES_TYPE:M${_tcap_}))
+       && (!defined(CURSES_TYPE) || empty(CURSES_TYPE:U:M${_tcap_}))
 BUILDLINK_TRANSFORM+=          l:${_tcap_}:${BUILDLINK_LIBNAME.terminfo}
 .    endif
 .  endfor



Home | Main Index | Thread Index | Old Index