diff options
author | jlam <jlam> | 2008-02-27 04:47:02 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-02-27 04:47:02 +0000 |
commit | 372bf21182682cefb9f80615dc2156f7dd6950d9 (patch) | |
tree | 56928d0e8dbf992555dfd701e1f90d6e512a5196 /devel/pdcurses | |
parent | 629e62ebf363096b64cdf2c6b74facaf257ba795 (diff) | |
download | pkgsrc-372bf21182682cefb9f80615dc2156f7dd6950d9.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 'devel/pdcurses')
-rw-r--r-- | devel/pdcurses/buildlink3.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/pdcurses/buildlink3.mk b/devel/pdcurses/buildlink3.mk index 84246da4fd6..c5ee527cc76 100644 --- a/devel/pdcurses/buildlink3.mk +++ b/devel/pdcurses/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2008/02/25 04:19:34 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2008/02/27 04:47:02 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PDCURSES_BUILDLINK3_MK:= ${PDCURSES_BUILDLINK3_MK}+ @@ -14,7 +14,8 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pdcurses .if !empty(PDCURSES_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.pdcurses+= pdcurses>=3.3 BUILDLINK_PKGSRCDIR.pdcurses?= ../../devel/pdcurses -BUILDLINK_LDADD.pdcurses?= -lXCurses +BUILDLINK_LIBNAME.pdcurses= XCurses +BUILDLINK_LDADD.pdcurses?= -l${BUILDLINK_LIBNAME.pdcurses} # _PKG_USE_CURSES is defined by curses.buildlink3.mk to indicate that # the headers and libraries should be usable as <curses.h> and -lcurses. |