summaryrefslogtreecommitdiff
path: root/mk/curses.builtin.mk
AgeCommit message (Collapse)AuthorFilesLines
2017-04-24Add vw_printw to list of functions to check for when assessing suitabilitysborrill1-2/+2
of builtin curses
2017-03-20quickly remove debugroy1-2/+2
2017-03-20Roll the duplicated function and define tests into lists and then looproy1-96/+28
through each with one test. Reduces code size, makes reading it a lot easier and is more maintainable. Patch from jperkin@
2017-03-20Add a test for syncok(3).roy1-1/+11
2017-01-05Add a test for resize_term(3).roy1-28/+38
2017-01-05Add a test for set_escdelayroy1-7/+17
2017-01-02Add support for detecting the ncurses extension getsyx(3) in system curses.roy1-1/+11
2016-12-29Fix USE_CURSES feature support.roy1-18/+18
2016-11-25Don't try to adjust BUILDLINK_INCDIRS.curses by a non existing prefix.joerg1-2/+2
2015-09-08Remove NetBSD 0.x and 1.x settings, these have long since been unsupported.jperkin1-3/+2
2014-03-09Move the logic for testing if system curses supports the needed functionsroy1-1/+93
from devel/ncurses to the mk infrastructure. FAKE_NCURSES=yes Provides the system curses as ncurses.h and libncurses. USE_CURSES=wide Links to system curses if they provide wide support, otherwise ncursesw. wide-curses in the package options also triggers this.
2013-11-23Use find-headers instead of find-files to detect builtin header files.obache1-4/+3
2013-04-21tell location of builtin curses.h for Haiku.obache1-1/+2
2008-02-27+ Define BUILTIN_LIBNAME.* unconditionally so that their values canjlam1-6/+5
always be used in other builtin.mk files. + In the USE_BUILTIN.* == "yes" case, set BUILDLINK_LIBNAME.* to the corresponding BUILTIN_LIBNAME.* value so that BUILDLINK_LIBNAME.* can always be used in other buildlink3.mk files.
2008-02-27Define BUILTIN_LIBNAME.* outside of the CHECK_BUILTIN.*-protectedjlam1-5/+10
section to be the name of the built-in library if USE_BUILTIN.* is "yes". These variables can be used in other builtin.mk files.
2008-02-27+ The termlib.buildlink3.mk file is meant to be included by packagesjlam1-2/+3
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.
2008-02-27Allow preferring a pkgsrc "curses" implementation for all packagesjlam1-7/+1
that include curses.buildlink3.mk. Generally, the rule is not to set CURSES_DEFAULT unless it's to set it to "ncurses" or "pdcurses". # Example mk.conf settings and their results. # Use the system curses. PREFER_NATIVE= yes # default value CURSES_DEFAULT= curses # default value # Use system "ncurses" if it's available, otherwise use devel/ncurses # from pkgsrc. # PREFER_NATIVE= yes # default value CURSES_DEFAULT= ncurses # Use devel/ncurses from pkgsrc. PREFER_PKGSRC= yes # Use devel/pdcurses from pkgsrc. PREFER_PKGSRC= yes CURSES_DEFAULT= pdcurses # This causes a package build failure because there is no pkgsrc # curses. # PREFER_PKGSRC= yes CURSES_DEFAULT= curses
2008-02-25+ Introduce a way for a user to set the default curses implementationjlam1-0/+71
used by packages that need curses. From curses.buildlink3.mk: CURSES_DEFAULT This value represents the type of curses we wish to use on the system. Setting this to "curses" means that the system curses implementation is fine. Possible: curses, ncurses, pdcurses + Move all code to detect a built-in version of curses into a curses.builtin.mk file. + Add code to {n,pd}curses/buildlink3.mk so make the headers and libraries usable as <curses.h> and -lcurses if _PKG_USE_CURSES is defined. _PKG_USE_CURSES is only defined by curses.buildlink3.mk. + Improve the detection of native ncurses in ncurses/builtin.mk and allow headers and libraries to be usable as <ncurses.h> and -lncurses.