1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net/cnet/files/patch-ae
Chris D. Faulhaber 2324fd2b3d Update port to 1.5p2
PR:		17234
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-08 17:02:06 +00:00

36 lines
916 B
Plaintext

--- src/config.h.orig Tue Mar 7 04:05:53 2000
+++ src/config.h Tue Mar 7 04:11:33 2000
@@ -19,6 +19,9 @@
#elif defined(sgi) || defined(__sgi) || defined(__sgi__)
#define USE_IRIX5
+#elif defined(__FreeBSD__)
+#define USE_FREEBSD
+
#else
#error Could not determine the operating system in config.h
#endif
@@ -68,6 +71,13 @@
#define CNETGCC "/usr/local/bin/gcc"
#define CNETLD "/bin/ld"
+#elif defined(USE_FREEBSD)
+#define OS_DEFINE "-DFREEBSD"
+#define CNETCPP "/usr/libexec/cpp"
+#define CNETCC "%%CC%%"
+#define CNETGCC "%%CC%%"
+#define CNETLD "/usr/bin/ld"
+
#endif
@@ -93,7 +103,7 @@
CNETPATH must be defined.
*/
-#define CNETPATH ".:/cslinux/cnetlib:/net/tahoe6/cs78/cnetlib"
+#define CNETPATH ".:%%PREFIX%%/libdata/cnet:%%PREFIX%%/include"
/* When compiled for Tcl/Tk, the Tcl/Tk script file may be taken from
CNETTCLTK or provided with the -F command-line option.