Philippe Charnier
7fed38d0a0
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:10:45 +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
Warner Losh
ad64363769
Remove __P
...
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
97e5eec61a
Eliminate troff(1) warnings.
2001-07-12 12:12:24 +00:00
Brian Somers
7bc6d0158f
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Ruslan Ermilov
e5b5c66bca
- Backout botched attempt to intoduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
Ruslan Ermilov
1c011f20f6
Set the default manual section for games/ to 6.
2001-03-20 18:08:43 +00:00
Andrey A. Chernov
ca6d811ee5
Remove unneded -ltermcap or -lmytinfo
2000-09-16 03:52:06 +00:00
Bill Fumerola
0e5a7be513
1. Don't overwrite scorefiles if they already exist.
...
PR: bin/13068
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00
Bill Fumerola
727bf60729
Sync our register usage with NetBSD's (non-)usage.
1999-11-16 02:58:06 +00:00
Bill Fumerola
879099e556
Add $FreeBSD$
1999-11-16 02:45:03 +00:00
Bill Fumerola
c057c9b641
Avoid ambigious if() if() else().
1999-09-07 06:00:03 +00:00
Peter Wemm
9b7a44a60e
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00
Steve Price
5f78f4b3f1
Forgot to remove these files with the NetBSD games cleanups.
1999-04-20 20:24:40 +00:00
Steve Price
af71cfbb87
Merge a bunch of cleanups from NetBSD.
...
PR: 8083
Submitted by: Stephen J. Roznowski <sjr@home.net>
Obtained from: a whole slew of NetBSD PRs
1999-04-19 03:59:02 +00:00
Bruce Evans
513336871a
Don't do anything special to prevent access to created files - honour
...
the default umask. World unreadable files broke installing over nfs.
1998-09-05 15:56:10 +00:00
Bruce Evans
ac648592d9
Keep build-tools objects separate from `all' objects so that my
...
cross-builds work.
1998-09-02 15:22:11 +00:00
John Birrell
62d43a3bfc
Make the build tools static to avoid trying to use the shared loader
...
before it is installed.
This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.
1998-08-20 21:45:46 +00:00
Bruce Evans
da1a06c3c3
Added a `build-tools' target for internal tools.
...
Honor LDFLAGS for building internal tools.
1998-07-07 01:43:54 +00:00
John Birrell
47b18310e8
Add #include string.h to get prototypes.
1998-05-09 11:06:46 +00:00
John Birrell
386849d36b
Add #include string.h to get prototypes and change variables from long
...
to time_t where they are passed to time() and localtime() by reference.
1998-05-09 11:03:03 +00:00
John Birrell
d62b710a47
Remove bogus time() prototype and let the one in time.h rule.
1998-05-09 11:00:50 +00:00
John Birrell
5c76d795ab
Add #include string.h to get prototypes.
1998-05-09 10:59:57 +00:00
Jordan K. Hubbard
01f228ffbe
Wargh! Who went and changed all the getopt() comparisons from -1 to
...
EOF? The getopt(3) manpage clearly states that the return value is *-1*,
not EOF! Besides, getopt(3) isn't reading from a file. :)
Noticed-while: merging to 2.2 (where this is correct).
1998-03-01 05:10:28 +00:00
Bruce Evans
883f4eba06
Fixed long lines in install rule. Fixed other bogons while I was here:
...
- removed vestigal rule for a Lite1 `.0' manpage.
- don't duplicate defaults in the `all' dependencies.
- removed bogus dependency of `setup' on monsters.asc.
- compile `setup' with the usual CFLAGS.
- create monster files at build time, not at install time.
- don't be so repetitive in the install rule.
- fixed too-global replacement of `install' by ${INSTALL}.
Long lines made disgustingly longer by: previous commit.
1998-01-16 09:43:47 +00:00
Warner Losh
2959539268
Avoid fclose(NULL).
...
Submitted by: OpenBSD (Theo de Raadt)
1998-01-07 00:12:04 +00:00
Eivind Eklund
86a790b51c
Fix phantasia.
...
Noticed by: max
1998-01-05 17:28:01 +00:00
Andrey A. Chernov
0ba4030b3d
Use srandomdev
1997-09-24 05:28:05 +00:00
Peter Wemm
38bd06f774
Merge from Lite2 so that it compiles
1997-03-12 03:51:01 +00:00
Peter Wemm
a794df83c5
Revert $FreeBSD$ to $Id$
1997-02-22 14:46:58 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Bruce Evans
015a0dc2e4
Use ${COPY} instead of -c for installing non-source files.
1997-01-01 04:22:23 +00:00
Wolfram Schneider
e83201b43a
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
Bruce Evans
9c0dc173cc
Change install' to
${INSTALL}' so that default install flags can be
...
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
010f5413b5
Remove trailing whitespace.
1995-05-30 03:37:36 +00:00
Rodney W. Grimes
e6ba2cd30e
Fix nested comments for -Wcomment warnings.
1995-05-09 13:33:06 +00:00
Andreas Schulz
588cf4250c
Add the files: characs, gold, lastdead, mess, monsters, motd, scoreboard, void
...
that are created from a setup program to the CLEANFILES list.
1994-11-28 11:12:29 +00:00
Steven Wallace
b058360fef
Change setup.c so that game files are generated into obj dir,
...
then Makefile installs into ${DESTDIR}/var/games/phantasia
1994-09-19 05:41:13 +00:00
Rodney W. Grimes
0e58d91938
Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
1994-09-11 21:32:28 +00:00
Jordan K. Hubbard
a162622bb8
Remove the conditional mkdir of /var/games/phantasia - done by mtree now.
...
Submitted by: jkh
1994-09-08 19:19:46 +00:00
Jordan K. Hubbard
d0a05ae033
Woo, naughty! It just occurred to me that this guy wasn't using
...
${DESTDIR} - fixed.
Submitted by: jkh
1994-09-08 04:15:34 +00:00
Jordan K. Hubbard
6d002167be
More preventive medicine on making directories before installation.
...
Submitted by: jkh
1994-09-08 04:11:45 +00:00
Jordan K. Hubbard
554eb505f8
Bring in the 4.4 Lite games directory, modulo man page changes and segregation
...
of the x11 based games. I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way. Bleah.
Submitted by: jkh
1994-09-04 04:03:31 +00:00