mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
30 lines
882 B
Plaintext
30 lines
882 B
Plaintext
--- we_prog.c.orig Wed May 6 11:03:14 1998
|
|
+++ we_prog.c Fri May 8 10:09:49 1998
|
|
@@ -15,6 +15,9 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/wait.h>
|
|
#include <signal.h>
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
|
|
int e_run_sh(FENSTER *f);
|
|
int e_make_library(char *library, char *ofile, FENSTER *f);
|
|
@@ -944,7 +947,15 @@
|
|
e_prog.exedir = WpeStringMake(".");
|
|
if (e_prog.sys_include) FREE(e_prog.sys_include);
|
|
e_prog.sys_include = WpeStringMake(
|
|
- "/usr/include:/usr/5include:/usr/include/X11");
|
|
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
|
|
+ "/usr/include:/usr/local/include"
|
|
+#else
|
|
+ "/usr/include:/usr/5include"
|
|
+#endif
|
|
+#if !defined(NO_XWINDOWS)
|
|
+ ":"X_INC
|
|
+#endif
|
|
+ );
|
|
if(e_prog.comp == NULL)
|
|
e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *));
|
|
else
|