From: Jose Rubio Date: Sun, 15 Sep 2019 17:01:17 +0000 (+0200) Subject: Link TCL libraries and restrict tcl8.6 to SuSE only. X-Git-Tag: 2.3.0a~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=507665352ff975b836612147817e489627922dea;p=oweals%2Fcde.git Link TCL libraries and restrict tcl8.6 to SuSE only. --- 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