Commit Graph

36 Commits

Author SHA1 Message Date
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