diff options
Diffstat (limited to 'dev-lang/jimtcl/files')
-rw-r--r-- | dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch b/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch new file mode 100644 index 000000000000..60850e0b6d0b --- /dev/null +++ b/dev-lang/jimtcl/files/jimtcl-0.75-bootstrap.patch @@ -0,0 +1,15 @@ +always do a bootstrap w/local jimsh0 to avoid requiring tcl or jimtcl +to be installed first. the bootstrap prog is small too. + +--- a/autosetup/find-tclsh ++++ b/autosetup/find-tclsh +@@ -4,9 +4,6 @@ + d=`dirname "$0"` + { "$d/jimsh0" "$d/test-tclsh"; } 2>/dev/null && exit 0 + PATH="$PATH:$d"; export PATH +-for tclsh in jimsh tclsh tclsh8.5 tclsh8.6; do +- { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0 +-done + echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0" + for cc in ${CC_FOR_BUILD:-cc} gcc; do + { $cc -o "$d/jimsh0" "$d/jimsh0.c"; } 2>/dev/null || continue |