home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / bash / bug / 553 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1.7 KB  |  55 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!caip.rutgers.edu!ghazi
  3. From: ghazi@caip.rutgers.edu (Kaveh R. Ghazi)
  4. Subject: patches for bbn butterfly gp1000
  5. Message-ID: <Aug.15.18.52.32.1992.23625@caip.rutgers.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Rutgers Univ., New Brunswick, N.J.
  8. Distribution: gnu
  9. Date: Sat, 15 Aug 1992 22:52:32 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 42
  12.  
  13.     I got bash-1.12 compiled and working on my BBN Butterfly GP1000 running
  14. Mach 1000 v2.5.  Here is the machines.h diffs:
  15.  
  16. diff -r bash-1.12/machines.h bbn-bash-1.12/machines.h
  17. 1123a1124,1142
  18. > /* ************************ */
  19. > /*                        */
  20. > /*   BBN Butterfly GP1000   */
  21. > /*   Mach 1000 v2.5       */
  22. > /*                        */
  23. > /* ************************ */
  24. > #if defined (butterfly) && defined (BFLY1)
  25. > #define M_MACHINE "BBN Butterfly"
  26. > #define M_OS "Mach 1000"
  27. > #undef HAVE_UNISTD_H
  28. > #define HAVE_SETLINEBUF
  29. > #define HAVE_SYS_SIGLIST
  30. > #define HAVE_GETGROUPS
  31. > #define HAVE_VFPRINTF
  32. > #ifdef BUILDING_MAKEFILE
  33. > MAKE = make
  34. > #endif /* BUILDING_MAKEFILE */
  35. > #endif /* butterfly */
  36.  
  37.     I also had to tweek builtins/Makefile:
  38. diff -r bash-1.12/builtins/Makefile bbn-bash-1.12/builtins/Makefile
  39. 70c70
  40. <       $(SHELL) ./psize.sh > pipesize.h
  41. ---
  42. >       @$(SHELL) ./psize.sh > pipesize.h
  43.  
  44.     I made this change because for some strange reason, the make variable
  45. $(SHELL) evaluated to my environment variable $SHELL (don't ask me why) and
  46. it tried to execute as "/bin/tcsh ./psize.sh > pipesize.h".  This caused
  47. psize.sh to run with csh syntax and it failed.  When I added the @ in the
  48. makefile, it ran with /bin/sh and worked fine.
  49.  
  50.         --Kaveh
  51. -- 
  52. Kaveh R. Ghazi            CAIP Center, Rutgers University.
  53. ghazi@caip.rutgers.edu        rutgers!caip.rutgers.edu!ghazi
  54.  
  55.