$NetBSD: patch-ac,v 1.2 2001/07/06 21:11:34 tron Exp $

--- lib/Imakefile.orig	Thu Mar 19 20:50:59 1998
+++ lib/Imakefile	Fri Jul  6 23:02:49 2001
@@ -34,7 +34,7 @@
 #define XpmLibDir $(USRLIBDIR)
 #endif
 #ifndef XpmIncDir
-#define XpmIncDir $(INCDIR)
+#define XpmIncDir $(PROJECTROOT)/include
 #endif
 
 XCOMM If not already set in top dir,
@@ -55,7 +55,7 @@
 #endif
 
 XCOMM on Dec Alpha we need to define the following to build the shared library
-#ifdef AlphaArchitecture
+#if defined(AlphaArchitecture) && defined(ModernOSF1)
 REQUIREDLIBS = $(LDPRELIB) $(XLIB)
 SO_REQLIBS = -lX11 -lc
 #endif
