diff options
author | roy <roy@pkgsrc.org> | 2010-02-07 09:46:13 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2010-02-07 09:46:13 +0000 |
commit | 86613d2e29aea97c340d7ceccdf94f96e7861866 (patch) | |
tree | e127d13b38ec1ea7da4df3eef026d073e9e916cf /mk/termcap.buildlink3.mk | |
parent | e3a0abe8a51c6dd42c665906dd39ec463ec84283 (diff) | |
download | pkgsrc-86613d2e29aea97c340d7ceccdf94f96e7861866.tar.gz |
Add builtin for working out if we have terminfo installed natively.
Diffstat (limited to 'mk/termcap.buildlink3.mk')
-rw-r--r-- | mk/termcap.buildlink3.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/termcap.buildlink3.mk b/mk/termcap.buildlink3.mk index e601704a0cd..3a719293ff0 100644 --- a/mk/termcap.buildlink3.mk +++ b/mk/termcap.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: termcap.buildlink3.mk,v 1.7 2009/03/20 19:25:01 joerg Exp $ +# $NetBSD: termcap.buildlink3.mk,v 1.8 2010/02/07 09:46:14 roy Exp $ # # This Makefile fragment is meant to be included by packages that require # a termcap implementation that supports the basic termcap functions: @@ -19,7 +19,7 @@ TERMCAP_BUILDLINK3_MK:= ${TERMCAP_BUILDLINK3_MK}+ # _TERMCAP_TYPES is an exhaustive list of all of the termcap # implementations that may be found. # -_TERMCAP_TYPES?= curses termcap termlib tinfo +_TERMCAP_TYPES?= terminfo curses termcap termlib tinfo CHECK_BUILTIN.termcap:= yes . include "termcap.builtin.mk" @@ -53,7 +53,8 @@ BUILDLINK_TRANSFORM+= l:termcap:${BUILDLINK_LIBNAME.termcap} .if ${TERMCAP_TYPE} == "none" PKG_FAIL_REASON= "No usable termcap library found on the system." -.elif (${TERMCAP_TYPE} == "termlib") || \ +.elif (${TERMCAP_TYPE} == "terminfo") || \ + (${TERMCAP_TYPE} == "termlib") || \ (${TERMCAP_TYPE} == "termcap") || \ (${TERMCAP_TYPE} == "tinfo") BUILDLINK_TREE+= termcap -termcap |