1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/games/crossfire/files/patch-aa
Andreas Klemm 680b820157 many changes by Dave:
- Fix the password problem so passwords are actually checked.
- Change some default options like SAVE_HOMEDIR, XPM_PIX (you hade
  the port requiring xpm but CF wasn't configured to link it in),
  ForceCCOPTIONS, EXPLORE_MODE, etc.
- Remove the empty ${CFDIR}/lib/shutdown from the Makefile and the
  PLIST.  This file just causes the program to exit without saying
  why until the user manually removes the file.
- Fix "crossfire -o" to call uname correctly.
- Set logfile to be line buffered (instead of block buffered) since they
  hardly ever call fflush(3).
Submitted by:	Dave Chapeskie <dchapes@golden.net>
1997-09-18 14:21:06 +00:00

71 lines
2.1 KiB
Plaintext

--- config/crosssite.def.orig Sun Jan 5 19:59:48 1997
+++ config/crosssite.def Wed Sep 17 15:55:13 1997
@@ -36,10 +36,8 @@
* (mwedel@pyramid.com)
*/
-/*
#define XPM_PIX
-#define Xpm_LibDir /usr/local/lib/
-*/
+#define Xpm_LibDir /usr/X11R6/lib/
/* If your include files are someplace odd */
/*#define Xpm_Include /usr/local/include*/
@@ -70,13 +68,13 @@
* This is a top root directory of all game staff as in UNIX-style
* overall.
*/
-#define CTop /home/sleipner/a/crossfire/crossfire
+#define CTop /usr/local/crossfire
/* #define CTop /net/contrib/crossfire */
/*#define CTop /usr/local/games/crossfire*/
/* Binaries location If this is undefined, it default to the
standard location for X binaries on your machine. */
-#define CBinDir Concat(CTop,/bin)
+#define CBinDir /usr/local/bin
/* Libraries location If this is undefined it defaults to the
standard location for X lib files/crossfire on your machine */
@@ -95,7 +93,8 @@
/* Crossfire manual location If this is undefined it defaults to the
standard location for manual pages on your machine.*/
/* #define CManPath Concat(CTop,/man) */
-#define CManSuffix 6
+#define CManPath /usr/local/man
+/* #define CManSuffix 6 */
/* Force CC to use the specified options instead of the default
@@ -104,7 +103,7 @@
* any of the default compiler options for your machine.
*/
/*define ForceCCOPTIONS -O -g -Wall */
-#undef ForceCCOPTIONS
+#define ForceCCOPTIONS -O -pipe -Wall -Werror
/* Extra_Flags are added onto the compilers default options. Can be
* quite useful if you just want to add another flag or two, and not
@@ -165,11 +164,9 @@
* Default: Sound support off.
*/
-/*
#define SoundEffects
#define RPlayLibDir /usr/local/lib
#define RPlayIncDir /usr/local/include
-*/
/* define this if using OpenWindows as your enviroment. This only
* needs to be set if the openwindows server you use is
@@ -207,7 +204,7 @@
* awk on most other systems will be OK.
*/
-AWK = gawk
+AWK = awk
/* Use debugged malloc? I don't know if this exists on all machines/OS's,
* but it does exist on SunOs 4.1.1.