aboutsummaryrefslogtreecommitdiffstats
path: root/net/cnet/files/patch-ae
blob: e95dd0e2590292831a65dde7483b666d2173e69d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- 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.