diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
commit | b24bd25253fe093f722ab576d29fdc41d04cb1ee (patch) | |
tree | 0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /dev-lang/jimtcl/files | |
parent | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff) |
gentoo resync : 02.08.2019
Diffstat (limited to 'dev-lang/jimtcl/files')
-rw-r--r-- | dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch b/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch new file mode 100644 index 000000000000..dba8f1b58976 --- /dev/null +++ b/dev-lang/jimtcl/files/jimtcl-0.78-no-bootstrap.patch @@ -0,0 +1,35 @@ +From f59809579339c0a16fb2519e590b98b611438064 Mon Sep 17 00:00:00 2001 +From: Eugene Bright <eugene@bright.gdn> +Date: Sat, 20 Jul 2019 21:00:54 +0300 +Subject: [PATCH] autosetup/autosetup-find-tclsh: Rely on tclsh + +Never try to compile jimsh0. Use tclsh as build time dependency. +--- + autosetup/autosetup-find-tclsh | 12 ++---------- + 1 file changed, 2 insertions(+), 10 deletions(-) + +diff --git a/autosetup/autosetup-find-tclsh b/autosetup/autosetup-find-tclsh +index dfe70f8..78b521e 100755 +--- a/autosetup/autosetup-find-tclsh ++++ b/autosetup/autosetup-find-tclsh +@@ -3,15 +3,7 @@ + # If not found, builds a bootstrap jimsh from source + # Prefer $autosetup_tclsh if is set in the environment + d=`dirname "$0"` +-{ "$d/jimsh0" "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0 + PATH="$PATH:$d"; export PATH +-for tclsh in $autosetup_tclsh jimsh tclsh tclsh8.5 tclsh8.6; do +- { $tclsh "$d/autosetup-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 +- "$d/jimsh0" "$d/autosetup-test-tclsh" && exit 0 +-done +-echo 1>&2 "No working C compiler found. Tried ${CC_FOR_BUILD:-cc} and gcc." ++tclsh "$d/autosetup-test-tclsh" 2>/dev/null && exit 0 ++echo 1>&2 "Please install dev-lang/tcl:0" + echo false +-- +2.20.1 + |