$OpenBSD: patch-Imakefile,v 1.2 2010/05/23 11:29:45 espie Exp $
--- Imakefile.orig	Fri Feb  3 01:25:44 1995
+++ Imakefile	Sat May 22 16:16:03 2010
@@ -25,7 +25,7 @@ XCOMM the maximum level of compatibility with AT&T lex
 XCOMM will define yylineno.  If you get an "Undefined symbol: _yylineno"
 XCOMM when linking, adjust this to work on your system.
 
-#if defined(i386BsdArchitecture) || defined(LinuxArchitecture)
+#if defined(OpenBSDArchitecture) || defined(LinuxArchitecture)
 # ifdef LexCmd
 LEX = LexCmd -l
 # else
@@ -100,7 +100,7 @@ SpecialObjectRule(vdt.o,NullParameter,$(XLOADIM_DEF))
 SpecialObjectRule(LocPixmap.o,NullParameter,'-DBITMAPDIR="$(INCDIR)/bitmaps"')
 SpecialObjectRule(twm.o,NullParameter,$(TWM_DEFS))
 
-#if defined(UltrixArchitecture) || defined(AlphaArchitecture)
+#if !defined(OpenBSDArchitecture) && (defined(UltrixArchitecture) || defined(AlphaArchitecture))
 SpecialObjectRule(menus.o,NullParameter,-Olimit 700)
 #endif
 
@@ -120,10 +120,10 @@ XCOMM	rm -f $(BINDIR)/twm
 XCOMM	ln $(BINDIR)/tvtwm $(BINDIR)/twm
 
 #if (ProjectX < 5)
-InstallNonExec(system.twmrc,$(TWMDIR))
+/* InstallNonExec(system.twmrc,$(TWMDIR))*/
 /* InstallProgram(ssetroot,$(BINDIR)/xsetroot) */
 #else
-InstallNonExecFile(system.twmrc,$(TWMDIR))
+/* InstallNonExecFile(system.twmrc,$(TWMDIR)) */
 /* InstallNamedProg(ssetroot,xsetroot,$(BINDIR)) */
 #endif
 
