* sta...@cs.tu-berlin.de <sta...@cs.tu-berlin.de> [2009-10-20 12:30]:
> [...] Attached patch worked for me.
> 
oops.
fingers faster than brain again ...
:o)
The patch is attached now.

-- 
 stanio_
diff -ubw -r 9base-4/config.mk 9base-4.sun//config.mk
--- 9base-4/config.mk   Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//config.mk      Tue Oct 20 11:56:51 2009
@@ -1,7 +1,7 @@
 # Customize to fit your system
 
 # paths
-PREFIX      = /usr/local/plan9
+PREFIX      = /home/pub/share/plan9
 MANPREFIX   = ${PREFIX}/share/man
 
 VERSION     = 4
@@ -11,12 +11,13 @@
 
 # Linux/BSD
 #CFLAGS      += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. 
-DPREFIX="\"${PREFIX}\""
-CFLAGS      += -c -I. -DPREFIX="\"${PREFIX}\""
-LDFLAGS     += -static
+#CFLAGS      += -c -I. -DPREFIX="\"${PREFIX}\""
+#LDFLAGS     += -static
 
 # Solaris
-#CFLAGS      = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\""
-#LDFLAGS     = -dn
+CFLAGS      = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\""
+LDFLAGS     = -dy 
+MAKE        = gmake
 
 # compiler
 AR          = ar rc
diff -ubw -r 9base-4/bc/Makefile 9base-4.sun//bc/Makefile
--- 9base-4/bc/Makefile Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//bc/Makefile    Tue Oct 20 12:11:20 2009
@@ -9,4 +9,4 @@
 include ../yacc.mk
 
 # Solaris
-#LDFLAGS += -dy -lxnet
+LDFLAGS += -dy -lxnet
diff -ubw -r 9base-4/rc/Makefile 9base-4.sun//rc/Makefile
--- 9base-4/rc/Makefile Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//rc/Makefile    Tue Oct 20 12:13:18 2009
@@ -11,7 +11,7 @@
 include ../config.mk
 
 # Solaris
-#LDFLAGS   += -dy -lxnet
+LDFLAGS   += -dy -lxnet
 
 all:
        @if [ ! -f y.tab.c ]; then \
diff -ubw -r 9base-4/rc/havefork.c 9base-4.sun//rc/havefork.c
--- 9base-4/rc/havefork.c       Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//rc/havefork.c  Tue Oct 20 11:54:55 2009
@@ -4,6 +4,7 @@
 #      define BSD_COMP /* sigh.  for TIOCNOTTY */
 #endif
 #include <sys/ioctl.h>
+#include <sys/termios.h>
 #include "rc.h"
 #include "getflags.h"
 #include "exec.h"
diff -ubw -r 9base-4/sleep/Makefile 9base-4.sun//sleep/Makefile
--- 9base-4/sleep/Makefile      Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//sleep/Makefile Tue Oct 20 12:13:18 2009
@@ -6,7 +6,7 @@
 include ../std.mk
 
 # Solaris
-#LDFLAGS   += -dy -lrt
+LDFLAGS   += -dy -lrt
 
 pre-uninstall:
 
diff -ubw -r 9base-4/test/Makefile 9base-4.sun//test/Makefile
--- 9base-4/test/Makefile       Thu Aug 27 19:54:24 2009
+++ 9base-4.sun//test/Makefile  Tue Oct 20 12:13:18 2009
@@ -6,7 +6,7 @@
 include ../std.mk
 
 # Solaris
-#LDFLAGS   += -dy
+LDFLAGS   += -dy
 
 pre-uninstall:
 

Reply via email to