Commit Graph

148 Commits

Author SHA1 Message Date
Jun Kuriyama
3a624f5e23 Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
David E. O'Brien
bba777dd3b Symlink with -f. 2003-04-30 15:49:40 +00:00
Ruslan Ermilov
27220696ca Make this compile under cs_CZ.ISO8859-2 locale.
Reported by:	Pav Lucistnik <pav@oook.cz>

We hit this problem earlier, in PR misc/45460.
2003-04-18 13:01:07 +00:00
Warner Losh
30aaff1192 Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
Ruslan Ermilov
e478cf0a5a Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
Ruslan Ermilov
b448dd2f9e Actually check if stdbool.h exists when BOOTSTRAPPING. 2002-11-13 13:47:48 +00:00
Ruslan Ermilov
4192cfffe2 Bootstrapping aid for 4.0-RELEASE. 2002-11-13 11:50:40 +00:00
Peter Wemm
224af215a6 Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
Mark Murray
c099da117f Try not to lint(1) contrib'ed sources. This Is Very Messy. 2002-09-25 14:19:51 +00:00
Andrey A. Chernov
55ca7e1fcf Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
obsolete +POS sort syntax.
2002-09-24 19:55:37 +00:00
Maxime Henrion
cef7a339ba Add a missing file into the CLEANFILES variable.
Approved by:	peter
2002-09-18 21:16:17 +00:00
Peter Wemm
66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
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
e43996e59a Initial update of bmake glue for ncurses-5.2-20020518. More to come. 2002-05-21 05:40:28 +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
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
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
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
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
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
Mike Pritchard
229494cb51 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00