Hi Ole,

On Sun, Oct 27, 2013 at 8:00 PM, Olе Streicher
<[email protected]> 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

_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to