[Pkg-tcltk-devel] tkAppinit.c

Sergei Golovan sgolovan at nes.ru
Sun Oct 27 16:24:20 UTC 2013


Hi Ole,

On Sun, Oct 27, 2013 at 8:00 PM, Olе Streicher
<debian-devel at liska.ath.cx> wrote:
> Hi,
>
> one of my programs (saods9) needs the file
> /usr/share/tcltk/tk8.?/tkAppInit.c, but would work with tcl8.5 (current
> sid) as well as with tcl8.6 (experimental). How can I specify this path?
> In the moment, the path is somewhere hardcoded, but this works with
> either 8.5 and 8.6. I would like to make the build independent of which
> of these versions is default.

I can suggest something like this in ds9/Makefile (instead of
hardcoding MAINDIR=/usr/share/tcltk/tk8.5):

MAINDIR = /usr/share/tcltk/tk$(shell . /usr/lib/tkConfig.sh ; echo $$TK_VERSION)

This would work if you build-depend the package on tk-dev (and not on
tk8.5-dev as it is now).

Cheers!
-- 
Sergei Golovan



More information about the Pkg-tcltk-devel mailing list