1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/crossfire/files/patch-aa
Kevin Lo 1f1f89f3c2 - Fix dependancy
- Support CFLAGS/PREFIX properly
- tar -> TAR

PR: 23223
Submitted by: Ports Fury
2000-12-02 16:03:30 +00:00

76 lines
2.2 KiB
Plaintext

--- config/crosssite.def.orig Sat Aug 1 19:23:58 1998
+++ config/crosssite.def Sat Dec 2 05:14:43 2000
@@ -36,10 +36,8 @@
* (mwedel@pyramid.com)
*/
-/*
#define XPM_PIX
-#define Xpm_LibDir /usr/local/lib/
-*/
+#define Xpm_LibDir %%X11BASE%%/lib/
/* If your include files are someplace odd */
/*#define Xpm_Include /usr/local/include*/
@@ -51,13 +49,13 @@
* This is a top root directory of all game staff as in UNIX-style
* overall.
*/
-#define CTop /home/hugin/a/crossfire/crossfire
+#define CTop %%PREFIX%%/lib/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 %%PREFIX%%/bin
/* Libraries location If this is undefined it defaults to the
standard location for X lib files/crossfire on your machine */
@@ -76,7 +74,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 %%PREFIX%%/man
+/* #define CManSuffix 6 */
/* Force CC to use the specified options instead of the default
@@ -103,9 +102,8 @@
* use the -l form or put in the complete path name.
* Linux users may need to add -lcrypt
*/
-/*
-#define Extra_Libraries -lcrypt
-*/
+
+#define Extra_Libraries -lcrypt -lcompat
/* Force CC to be a specific compilator? Define this to be the
* actual compiler (see example). If defined, the default
@@ -161,11 +159,9 @@
* too distant future, it probably isn't worth fixing here.
*/
-/*
#define Rplay_Sound
-#define RPlayLibDir /usr/local/lib
-#define RPlayIncDir /usr/local/include
-*/
+#define RPlayLibDir %%LOCALBASE%%/lib
+#define RPlayIncDir %%LOCALBASE%%/include
/* define this if using OpenWindows as your enviroment. This only
* needs to be set if the openwindows server you use is
@@ -203,7 +199,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.