Index: server/buildpkgs/Tclx/build.sh ================================================================== --- server/buildpkgs/Tclx/build.sh +++ server/buildpkgs/Tclx/build.sh @@ -38,13 +38,24 @@ 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