From 012862e8eef0bb1b5498e215b1044f9f085ec4b7 Mon Sep 17 00:00:00 2001 From: "Matthew R. Trower" Date: Thu, 25 Oct 2018 04:51:52 -0500 Subject: [PATCH] Add default TCLLIB, and allow override in host.def Restores build on Sun, and maybe others. --- cde/programs/dtdocbook/instant/Imakefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtdocbook/instant/Imakefile b/cde/programs/dtdocbook/instant/Imakefile index 0969f10b..75669164 100644 --- a/cde/programs/dtdocbook/instant/Imakefile +++ b/cde/programs/dtdocbook/instant/Imakefile @@ -3,16 +3,23 @@ XCOMM $XConsortium: Imakefile /main/6 1996/11/29 11:06:09 rswiston $ XLATESRC = $(DTSVCSRC)/DtUtil2 TCLINC = -TCLLIB = +TCLLIB = -ltcl #if defined(LinuxArchitecture) TCLINC = -I/usr/include/tcl -TCLLIB = -ltcl #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture) TCLINC = -I/usr/local/include/tcl8.6 TCLLIB = -ltcl86 #endif +#if defined(TCLInc) +TCLINC = TCLInc +#endif +#if defined(TCLLib) +TCLLIB = TCLLib +#endif + + INCLUDES = -I../lib/tptregexp -I$(XLATESRC) $(TCLINC) DEPLIBS = $(DEPDTSVCLIB) LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \ -- 2.25.1