diff options
author | obache <obache@pkgsrc.org> | 2014-03-11 09:16:57 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-03-11 09:16:57 +0000 |
commit | 1360c770a223755a1c1d121f5b0a118df8dfcb3c (patch) | |
tree | e500261e27af67d5e8f7f172b9e5b69a23c02108 /mk | |
parent | d18d227d1f7e87813919def4ff9a062fe8129a95 (diff) | |
download | pkgsrc-1360c770a223755a1c1d121f5b0a118df8dfcb3c.tar.gz |
fixes for old bmake, undefined variable is not treated as empty.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/terminfo.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/terminfo.buildlink3.mk b/mk/terminfo.buildlink3.mk index 5b51aa4e910..004cf85d811 100644 --- a/mk/terminfo.buildlink3.mk +++ b/mk/terminfo.buildlink3.mk @@ -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 @@ BUILD_DEFS_EFFECTS+= TERMINFO_TYPE .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 |