diff options
author | jlam <jlam@pkgsrc.org> | 2008-02-27 04:47:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-02-27 04:47:02 +0000 |
commit | f686df4e6c1895ff3eada380075cdc6d8854c01a (patch) | |
tree | 56928d0e8dbf992555dfd701e1f90d6e512a5196 /mk/curses.builtin.mk | |
parent | 8dbadc06accb49d6b11e837958e72aaf205a15bb (diff) | |
download | pkgsrc-f686df4e6c1895ff3eada380075cdc6d8854c01a.tar.gz |
+ The termlib.buildlink3.mk file is meant to be included by packages
that need basic termlib functionality, i.e. tgetent(), tgoto(),
tputs(), etc. Together with the termlib.builtin.mk file, they will
use either a built-in termcap library, a built-in X/Open "enhanced"
curses library, or ncurses to provide these functions.
+ Add BUILDLINK_LIBNAME.* definitions to the various curses buildlink3.mk
and builtin.mk files that give the "base" library name of the curses
library, e.g. curses, ncurses, etc. These are used by the termlib
files to set BUILDLINK_LIBNAME.termlib.
Diffstat (limited to 'mk/curses.builtin.mk')
-rw-r--r-- | mk/curses.builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/curses.builtin.mk b/mk/curses.builtin.mk index 8e4a67a94db..e35b4ee4da3 100644 --- a/mk/curses.builtin.mk +++ b/mk/curses.builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: curses.builtin.mk,v 1.2 2008/02/27 02:26:07 jlam Exp $ +# $NetBSD: curses.builtin.mk,v 1.3 2008/02/27 04:47:02 jlam Exp $ BUILTIN_PKG:= curses @@ -58,7 +58,8 @@ CHECK_BUILTIN.curses?= no BUILDLINK_INCDIRS.curses?= ${H_CURSES:H:S/^${BUILDLINK_PREFIX.curses}\///} . endif . if !empty(BUILTIN_LIB_FOUND.curses:M[yY][eE][sS]) -BUILDLINK_LDADD.curses?= -lcurses +BUILDLINK_LIBNAME.curses= curses +BUILDLINK_LDADD.curses?= -l${BUILDLINK_LIBNAME.curses} . endif . endif |