Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!ames!amdahl!nsc!voder!zok!mark From: mark@zok.UUCP (Mark W. Snitily) Newsgroups: comp.windows.x Subject: rgb/Imakefile patch Message-ID: <400@zok.UUCP> Date: 9 Jan 90 06:56:56 GMT Organization: The distant planet Zok Lines: 35 The X11R4 mit/rgb/Imakefile has a glitch similar to the one in mit/lib/Xt/Imakefile pointed out by Isaac Salzman (salzman@rand.org). If the rgb database is not installed in /usr/lib/X11 the new destination directory is not compiled into to rgb and showrgb. Here's a patch to mit/rgb/Imakefile that fixes the problem: *** Imakefile.org Sat Nov 18 12:44:51 1989 --- Imakefile Mon Jan 8 13:28:56 1990 *************** *** 1,5 **** DEPLIBS = ! DEFINES = NdbmDefines INCLUDES = -I$(TOP) -I$(SERVERSRC)/include INSTALLFLAGS = $(INSTLIBFLAGS) SRCS1 = rgb.c --- 1,11 ---- + #ifdef DefaultRGBDatabase + SITE_RGB_DB = -DRGB_DB=\"DefaultRGBDatabase\" + #else + SITE_RGB_DB = /* as nothing */ + #endif + DEPLIBS = ! DEFINES = NdbmDefines $(SITE_RGB_DB) INCLUDES = -I$(TOP) -I$(SERVERSRC)/include INSTALLFLAGS = $(INSTLIBFLAGS) SRCS1 = rgb.c -- Mark Mark W. Snitily Consulting Services: 894 Brookgrove Lane Graphics, Operating Systems, Compilers Cupertino, CA 95014 (408) 252-0456 mark@zok.uucp