*** utils/imakesrc/Imake.tmpl.orig	Tue May 28 14:11:14 1991
--- utils/imakesrc/Imake.tmpl	Wed Sep 13 19:41:33 2000
***************
*** 16,21 ****
--- 16,31 ----
  #define	YES	1
  #define NO	0
  
+ #ifdef FBSD
+ #define DO_X11
+ #undef DO_SUNVIEW
+ #undef DO_X10
+ #define MacroIncludeFile "FreeBSD.def"
+ #define MacroFile FreeBSD.def
+ #define SystemDef -DFBSD
+ #define SystemType -DBSD
+ #endif /*  FreeBSD */
+ 
  
  #ifdef SUN3
  #define DO_SUNVIEW YES
***************
*** 191,204 ****
  #  ifdef PLOTCAP_INSTALLED
  #    define PlotcapLibs	-lhigh2 -lgplot
  #  else
! #    define PlotcapLibs	PlotcapDir/libname(high2) PlotcapDir/libname(gplot)
  #  endif
  #endif
  #ifndef F77PlotcapLibs
  #  ifdef PLOTCAP_INSTALLED
  #    define F77PlotcapLibs	-lgplotF77 PlotcapLibs
  #  else
! #    define F77PlotcapLibs	PlotcapDir/libname(gplotF77) PlotcapLibs
  #  endif
  #endif
  
--- 201,214 ----
  #  ifdef PLOTCAP_INSTALLED
  #    define PlotcapLibs	-lhigh2 -lgplot
  #  else
! #    define PlotcapLibs	LibDir/libname(high2) LibDir/libname(gplot)
  #  endif
  #endif
  #ifndef F77PlotcapLibs
  #  ifdef PLOTCAP_INSTALLED
  #    define F77PlotcapLibs	-lgplotF77 PlotcapLibs
  #  else
! #    define F77PlotcapLibs	LibDir/libname(gplotF77) PlotcapLibs
  #  endif
  #endif
  
***************
*** 328,334 ****
  #define InstBinFlags 0755
  #endif
  #ifndef InstLibFlags
! #define InstLibFlags 0664
  #endif
  #ifndef InstIncFlags
  #define InstIncFlags 0444
--- 338,344 ----
  #define InstBinFlags 0755
  #endif
  #ifndef InstLibFlags
! #define InstLibFlags 0644
  #endif
  #ifndef InstIncFlags
  #define InstIncFlags 0444
