--- nx-X11/config/imake/imake.c.orig	2006-11-05 00:10:49.000000000 +0000
+++ nx-X11/config/imake/imake.c	2006-11-05 00:11:49.000000000 +0000
@@ -974,7 +974,7 @@
 static void
 get_libc_version(FILE *inFile)
 {
-  char aout[] = "/tmp/imakeXXXXXX";
+  char aout[] = "./imakeXXXXXX";
   FILE *fp;
   const char *format = "%s -o %s -x c -";
   char *cc;