Commit Graph

75 Commits

Author SHA1 Message Date
Mike Barcroft
abbd890233 o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
2002-08-21 16:20:02 +00:00
Ruslan Ermilov
f350abf814 Handle the escaped colon \: in a capability.
PR:		bin/30778
Reviewed by:	ache, peter
MFC after:	3 days
2002-08-12 19:13:22 +00:00
Ruslan Ermilov
d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Andrey A. Chernov
c9e2508f62 Add NCURSES_OSPEED replace command to MANFILTER 2002-06-02 16:11:57 +00:00
Peter Wemm
42d4025c74 Make this a little easier to build standalone. (same change as libpanel) 2002-05-21 07:08:30 +00:00
Peter Wemm
c8930be1de Initial update of bmake glue for ncurses-5.2-20020518 2002-05-21 05:41:07 +00:00
Peter Wemm
e43996e59a Initial update of bmake glue for ncurses-5.2-20020518. More to come. 2002-05-21 05:40:28 +00:00
Ruslan Ermilov
9c6025c3db `all-man' now creates manpages in the -DNOMANCOMPRESS case too. 2002-05-15 12:59:54 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
David E. O'Brien
be04b6d190 Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
Matthew Dillon
d88aca65d2 Add __FBSDID()s to libncurses 2001-09-30 22:02:43 +00:00
Ruslan Ermilov
c31acb7944 Unbreak build-tools -- build and use up-to-date ${HEADERS}.
These might not be present in /usr/include, or they may be
incompatible with the version we are building (for library
upgrades/downgrades).

This stopped the RELENG_4 buildworld on a -CURRENT box.
Well, this only fixes the issue if MFC'ed.  :-)
2001-09-14 15:27:51 +00:00
Peter Wemm
7dd144d715 Turn on the extra 'const' settings for various curses functions. While
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before.  This should be harmless.

Requested by:  lots of folks
2001-06-12 01:14:02 +00:00
Maxim Sobolev
e34dcf281a Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that
reference to termcap.3 will not be pointing to nowhere.

MFC after:	1 week
2001-06-07 17:27:44 +00:00
David E. O'Brien
4402efc314 Use the correct FreeBSD definitions for wint_t and wchar_t. 2001-05-18 00:41:27 +00:00
Peter Wemm
c1323a523a Argh. Fix a long-standing man page filter botch. See terminfo(5) for
the effect.
2001-05-17 08:48:26 +00:00
Peter Wemm
2493e89366 Update for ncurses 5.2-20010512 import 2001-05-17 08:30:09 +00:00
Ruslan Ermilov
4a558355e5 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
Thomas Gellekum
962079cf00 Add some missing functions in MLINKS. Link assume_default_colors.3
and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3.
The former seems to be newer and/or better maintained.
2000-12-05 12:40:14 +00:00
Thomas Gellekum
14eadf4703 Install manpages, including appropriate MLINKS. 2000-12-05 12:38:23 +00:00
Peter Wemm
f68135e505 Fix a buildworld hiccup with build-tools that wasn't present in standalone
library builds.
2000-10-11 11:25:47 +00:00
Peter Wemm
1105a0c9d9 Oops, beforedepend isn't needed. The build problem I had was due to
something else.
2000-10-11 08:20:37 +00:00
Peter Wemm
fa741a91a7 Update for ncurses 5.1-20001009 import 2000-10-11 08:19:56 +00:00
Peter Wemm
b59859cba3 Update for ncurses 20001009 import 2000-10-11 08:17:19 +00:00
Peter Wemm
00eb1c2148 Update after ncurses 20001009 import 2000-10-11 08:14:44 +00:00
Peter Wemm
5148785cd3 Update bmake glue after ncurses 5.1-20001009 import. 2000-10-11 08:07:28 +00:00
Ruslan Ermilov
6c388e8448 src/Makefile.inc1 sets DESTDIR=${WORLDTMP} for `buildworld' stage
causing pre-processed manual pages, like terminfo(5), to point to
the temporary build tree.
2000-08-04 15:38:32 +00:00
Peter Wemm
c8e97871bf Add new man pages 2000-07-03 09:47:47 +00:00
Peter Wemm
d6a123ad6e Get this to compile in the 5.1-20000701-prerelease environment. 2000-07-03 09:40:52 +00:00
Thomas Gellekum
80026b8af0 Add missing source files. Sort SRCS.
PR:		18631
2000-05-24 09:01:23 +00:00
Peter Wemm
55609eba05 Make a link from curses.3 -> ncurses.3 so that 'man 3 curses' does
something remotely useful.
2000-03-02 08:23:23 +00:00
Peter Wemm
b02c95d498 Add the new version.c file for curses_version(3) 2000-01-26 16:51:36 +00:00
Rodney W. Grimes
d05257b0f2 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
Brian Feldman
559048567a This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
2000-01-11 12:51:56 +00:00
Brian Feldman
c9215ae2ed *draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
2000-01-11 12:37:57 +00:00
Alexey Zelkin
a8abed9426 Install html files to /usr/share/doc/ncurses/ 2000-01-10 12:12:51 +00:00
Marcel Moolenaar
73a84e4f78 Make sure curses.h is generated when making build-tools make_keys
and make_hash depend on it.
1999-12-20 10:37:55 +00:00
Marcel Moolenaar
895a95935f Add a `build-tools' target for make_hash and make_keys. 1999-12-13 21:25:08 +00:00
Marcel Moolenaar
b3682048b6 Install include files with mode 444. 1999-12-11 13:38:04 +00:00
Peter Wemm
a10b671db8 EEK! termios mode wasn't activated..
Noticed by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-11-30 05:56:12 +00:00
Peter Wemm
0e6c8cb9da Don't complain loudly about unknown termcap capabilities, eg:
{vladivostok:/usr/home/ken:1:0} echo |more
"TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0'
"TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX'

Submitted by:	Kenneth D. Merry <ken@kdm.org>
1999-11-17 01:01:02 +00:00
Peter Wemm
bcf7336218 Try and catch a make -j problem in 'make depend'.
Tested by:	Dirk-Willem van Gulik <dirkx@va-179.skylink.it>
1999-09-26 19:11:04 +00:00
Peter Wemm
a36800970f Add bmake glue for libform (the SVSV-style ETI curses form driver from
ncurses)
1999-09-05 05:37:49 +00:00
Peter Wemm
7cc7a6b63e Add bmake glue for libpanel (the SVSV-style ETI curses panel (overlapping
layers) driver from ncurses)
1999-09-05 05:36:12 +00:00
Peter Wemm
56072d6b2b Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from
ncurses)
1999-09-05 05:32:46 +00:00
Peter Wemm
b78515bd1a Add a missing dependency for make_hash which could make various forms of
make -jN fail.  This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by:	luoqi
1999-09-01 05:14:57 +00:00
Dmitrij Tejblum
0c5ed04869 Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.
1999-08-30 23:15:40 +00:00
Peter Wemm
99af2e21c7 Use src/contrib/ncurses, v5.0.990821 prerelease.
This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface.  Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here!  (The build will be broken for a short
while)
1999-08-30 07:58:08 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00