1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/cnet/files/patch-ae
Will Andrews 262e08f24a Update to 1.6.
PR:		20103
Submitted by:	Ports Fury
2000-07-22 07:22:57 +00:00

36 lines
991 B
Plaintext

--- src/config.h.orig Thu Jun 22 16:39:34 2000
+++ src/config.h Sat Jul 22 01:41:04 2000
@@ -19,6 +19,9 @@
#elif defined(sgi) || defined(__sgi) || defined(__sgi__)
#define USE_IRIX5
+#elif defined(__FreeBSD__)
+#define USE_FREEBSD
+
#elif defined(_WIN32)
/* Don't get too excited here . The Windows implementation is still being
developed and will first appear in the non-alpha version of 1.6.
@@ -78,6 +81,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"
+
#elif defined(USE_WIN32)
#define OS_DEFINE "/DWIN32"
#endif
@@ -102,7 +112,7 @@
CNETPATH must be defined.
*/
-#define CNETPATH ".:/cslinux/cnetlib:/home/chris/cnetlib"
+#define CNETPATH ".:%%PREFIX%%/share/cnet:%%PREFIX%%/include"
/* A small number of common errors are detected by cnet at run-time.