Differences From
Artifact [15ddc9112c]:
Also attachment "build.sh" to
ticket [
7bf1561836]
added by
anonymous on
2015-08-20 14:00:03.
︙ | | | ︙ | |
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
cat configure.new > configure
rm -f configure.new
(
# Build
echo "Running: ./configure $tryopt --disable-symbols --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure $tryopt --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
echo "Running: ${MAKE:-make} TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} TCLSH=${TCLSH_NATIVE} || exit 1
echo "Running: ${MAKE:-make} install TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} install TCLSH=${TCLSH_NATIVE}
) || continue
break
done
mkdir "${OUTDIR}/lib" || exit 1
|
|
>
>
|
|
|
|
|
>
>
>
>
>
>
>
|
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
cat configure.new > configure
rm -f configure.new
(
# Build
echo "Running: ./configure $tryopt --disable-symbols --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure $tryopt --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
if [ "${KC_CROSSCOMPILE}" = '1' ]; then
## Cross-compiling, use TCLSH_NATIVE
echo "Running: ${MAKE:-make} TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} TCLSH=${TCLSH_NATIVE} || exit 1
echo "Running: ${MAKE:-make} install TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} install TCLSH=${TCLSH_NATIVE} || exit 1
else
echo "Running: ${MAKE:-make}"
${MAKE:-make} || exit 1
echo "Running: ${MAKE:-make} install"
${MAKE:-make} install || exit 1
fi
) || continue
break
done
mkdir "${OUTDIR}/lib" || exit 1
|
︙ | | | ︙ | |