<i>tcl.pc: hardcoded depedencies, missing build flags</i> status still Open with 3 other changes
by
.
D 2023-06-26T20:54:00.520
J icomment I\sam\sattaching\sa\sbrief\spatch\sfor\s8.7\sand\slater,\swhich\sI\swould\sconsider\sthe\sbare\sminimum\sfor\simproving\stcl.pc\sto\scorrectly\sindicate\sbundled\sor\sexternal\slibtommath\sdependency.\sIt\sappears\sto\swork\swith\sTkinter.\r\n\r\nThe\sapproach\sin\sthe\spatch\sassumes\sthat\sif\sexternal\slibtommath\sis\sused,\sthen\sit\swas\sinstalled\swith\spkg-config\sdata;\smaybe\sit\soften\sis,\sbut\sthat\sis\snot\sguaranteed.\s(MacPorts,\sfor\sexample,\sonly\srecently\sbegan\sinstalling\slibtommath.pc:\s[https://github.com/macports/macports-ports/pull/18424])\sIdeally,\sif\sa\sdependency\sis\slisted\sin\stcl.pc,\sthen\sthat\sshould\smean\sTcl\sused\spkg-config\sto\sdetect\sit\sand\sretrieve\sits\sbuild\sflags\s(e.g.\s<tt>-lz</tt>,\s<tt>-ltommath</tt>);\sonly\swhen\sa\sdependency\sis\s<em>not</em>\sdetected\sby\spkg-config\sshould\sTcl\stry\sproviding\sbuild\sflags.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 5916e48806d93dd9b24f8f73c3f4d7ed74b04eb3
U chrstphrchvz
Z b50e6ed04cb9b1b5b86a69167d4d3020