36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
+
+
+
+
+
+
+
+
+
+
+
-
+
|
(
mkdir build >/dev/null 2>/dev/null
cd build || exit 1
gzip -dc ../src/tcl8.4.19.tar.gz | tar -xf -
)
TCLPRIVATE="$(pwd)/build/tcl8.4.19"
export TCLPRIVATE
(
cd "${TCLPRIVATE}/unix" || exit 1
./configure
${MAKE:-make}
)
TCLCONFIGDIR="${TCLPRIVATE}/unix"
fi
echo "TCLPRIVATE = \"${TCLPRIVATE}\""
CFLAGS="${CFLAGS} -I${TCLPRIVATE} -I${TCLPRIVATE}/generic -I${TCLPRIVATE}/unix"
CFLAGS="-I${TCLPRIVATE} -I${TCLPRIVATE}/generic -I${TCLPRIVATE}/unix ${CFLAGS}"
export CFLAGS
(
cd build/ || exit 1
bzip2 -dc "../${SRC}" | tar -xf -
|