From 507665352ff975b836612147817e489627922dea Mon Sep 17 00:00:00 2001 From: Jose Rubio Date: Sun, 15 Sep 2019 19:01:17 +0200 Subject: [PATCH] Link TCL libraries and restrict tcl8.6 to SuSE only. --- cde/config/imake/imake.c | 2 +- cde/programs/dtdocbook/instant/Imakefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cde/config/imake/imake.c b/cde/config/imake/imake.c index 6ca76d34..574af7c7 100644 --- a/cde/config/imake/imake.c +++ b/cde/config/imake/imake.c @@ -824,7 +824,7 @@ get_distrib(FILE *inFile) { struct stat sb; - static char* yast = "/sbin/YaST"; + static char* yast = "/sbin/yast"; static char* redhat = "/etc/redhat-release"; fprintf (inFile, "%s\n", "#define LinuxUnknown 0"); diff --git a/cde/programs/dtdocbook/instant/Imakefile b/cde/programs/dtdocbook/instant/Imakefile index 09f8ccaf..08071e9f 100644 --- a/cde/programs/dtdocbook/instant/Imakefile +++ b/cde/programs/dtdocbook/instant/Imakefile @@ -7,6 +7,10 @@ TCLLIB = -ltcl #if defined(LinuxArchitecture) TCLINC = -I/usr/include/tcl +#if DefaultLinuxDistribution == LinuxSuSE +TCLLIB = -ltcl8.6 +#endif + #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture) TCLINC = -I/usr/local/include/tcl8.6 TCLLIB = -ltcl86 -- 2.25.1