1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/tcl/tcl.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
14 hook_add preconf 5 "echo 'ac_cv_func_strtod=yes
15 tcl_cv_strtod_buggy=1' >> config.cache"
18 mm=`echo $ver | cut -d . -f 1-2`
19 ln -vsf tclsh$mm $root$bindir/tclsh
20 ln -vsf libtcl$mm.so $root$libdir/libtcl.so
21 install -m 644 ../generic/tcl{Int,IntDecls,Port,IntPlatDecls}.h $root$includedir/
22 install -m 644 ../unix/tclUnixPort.h $root$includedir/
25 hook_add preconf 3 "cd unix"
26 hook_add postmake 5 ptcl
27 var_append makeopt ' ' 'RANLIB=true' # no ranlib on .so files, ...