diff options
author | Keri Harris <keri@gentoo.org> | 2007-01-08 06:27:34 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2007-01-08 06:27:34 +0000 |
commit | ae6c6578c918879b0e077642e66609ed2ac3ea52 (patch) | |
tree | af18cec2635949b6226158307bdfeab688684500 /dev-lang/mercury/files | |
parent | Fix bug number to 160699 in last commit. Whoops (diff) | |
download | gentoo-2-ae6c6578c918879b0e077642e66609ed2ac3ea52.tar.gz gentoo-2-ae6c6578c918879b0e077642e66609ed2ac3ea52.tar.bz2 gentoo-2-ae6c6578c918879b0e077642e66609ed2ac3ea52.zip |
Do not rebuild C files in a stage1 bootstrap without a Mercury compiler handy.
(Portage version: 2.1.2_rc4-r2)
Diffstat (limited to 'dev-lang/mercury/files')
-rw-r--r-- | dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch | 27 | ||||
-rw-r--r-- | dev-lang/mercury/files/mercury-0.13.1-bootstrap.patch | 70 |
2 files changed, 97 insertions, 0 deletions
diff --git a/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch b/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch index f8922bb2e0a9..68e6dbc0ac94 100644 --- a/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch +++ b/dev-lang/mercury/files/mercury-0.12.2-bootstrap.patch @@ -58,3 +58,30 @@ #-----------------------------------------------------------------------------# +@@ -9980,10 +9980,10 @@ + + fi + #-----------------------------------------------------------------------------# +-if test "$BOOTSTRAP_MC" = ""; then +- BOOTSTRAP_MC=mmc +-fi +-BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" ++#if test "$BOOTSTRAP_MC" = ""; then ++# BOOTSTRAP_MC=mmc ++#fi ++#BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" + + #-----------------------------------------------------------------------------# + +@@ -12010,6 +12010,11 @@ + rm -f confscratch $to_delete + fi + #-----------------------------------------------------------------------------# ++if test "$BOOTSTRAP_MC" = ""; then ++ BOOTSTRAP_MC=mmc ++fi ++BOOTSTRAP_MC="$BOOTSTRAP_MC $HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" ++#-----------------------------------------------------------------------------# + + echo "$as_me:$LINENO: checking for C shell executable" >&5 + echo $ECHO_N "checking for C shell executable... $ECHO_C" >&6 diff --git a/dev-lang/mercury/files/mercury-0.13.1-bootstrap.patch b/dev-lang/mercury/files/mercury-0.13.1-bootstrap.patch index 2245a826f6d7..d6f22e0a2fa9 100644 --- a/dev-lang/mercury/files/mercury-0.13.1-bootstrap.patch +++ b/dev-lang/mercury/files/mercury-0.13.1-bootstrap.patch @@ -1,5 +1,42 @@ --- mercury-compiler-0.13.1.orig/configure 2006-12-01 22:37:01.000000000 +1300 +++ mercury-compiler-0.13.1/configure 2006-12-04 20:50:57.000000000 +1300 +@@ -7410,21 +7410,21 @@ + + echo "$as_me:$LINENO: result: $mercury_cv_unboxed_floats" >&5 + echo "${ECHO_T}$mercury_cv_unboxed_floats" >&6 +-if test "$mercury_cv_unboxed_floats" = yes; then +- if test "$BOOTSTRAP_MC" = ""; then +- { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed - +-**** cannot use unboxed floats, bootstrapping using boxed floats +-**** after installation is complete you may want to reinstall +-**** from scratch so you can use unboxed floats, which are more +-**** efficient." >&5 +-echo "$as_me: WARNING: Mercury compiler not yet installed - +-**** cannot use unboxed floats, bootstrapping using boxed floats +-**** after installation is complete you may want to reinstall +-**** from scratch so you can use unboxed floats, which are more +-**** efficient." >&2;} +- mercury_cv_unboxed_floats=no +- fi +-fi ++#if test "$mercury_cv_unboxed_floats" = yes; then ++# if test "$BOOTSTRAP_MC" = ""; then ++# { echo "$as_me:$LINENO: WARNING: Mercury compiler not yet installed - ++#**** cannot use unboxed floats, bootstrapping using boxed floats ++#**** after installation is complete you may want to reinstall ++#**** from scratch so you can use unboxed floats, which are more ++#**** efficient." >&5 ++#echo "$as_me: WARNING: Mercury compiler not yet installed - ++#**** cannot use unboxed floats, bootstrapping using boxed floats ++#**** after installation is complete you may want to reinstall ++#**** from scratch so you can use unboxed floats, which are more ++#**** efficient." >&2;} ++# mercury_cv_unboxed_floats=no ++# fi ++#fi + if test "$mercury_cv_unboxed_floats" = yes; then + HAVE_BOXED_FLOATS="--unboxed-float" + else @@ -8980,34 +8980,34 @@ if test "$BEST_GRADE_FOR_COMPILER" != "$BOOTSTRAP_GRADE"; then @@ -58,3 +95,36 @@ #-----------------------------------------------------------------------------# +@@ -10222,12 +10222,12 @@ + + fi + #-----------------------------------------------------------------------------# +-if test "$BOOTSTRAP_MC" = ""; then +- BOOTSTRAP_MC=mmc +-fi +-BOOTSTRAP_MC_COMPILER="$BOOTSTRAP_MC" +-BOOTSTRAP_MC_ARGS="$HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" +-BOOTSTRAP_MC="$BOOTSTRAP_MC_COMPILER $BOOTSTRAP_MC_ARGS" ++#if test "$BOOTSTRAP_MC" = ""; then ++# BOOTSTRAP_MC=mmc ++#fi ++#BOOTSTRAP_MC_COMPILER="$BOOTSTRAP_MC" ++#BOOTSTRAP_MC_ARGS="$HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" ++#BOOTSTRAP_MC="$BOOTSTRAP_MC_COMPILER $BOOTSTRAP_MC_ARGS" + + + +@@ -12260,6 +12260,13 @@ + rm -f confscratch $to_delete + fi + #-----------------------------------------------------------------------------# ++if test "$BOOTSTRAP_MC" = ""; then ++ BOOTSTRAP_MC=mmc ++fi ++BOOTSTRAP_MC_COMPILER="$BOOTSTRAP_MC" ++BOOTSTRAP_MC_ARGS="$HAVE_BOXED_FLOATS --conf-low-tag-bits $LOW_TAG_BITS --bits-per-word $BITS_PER_WORD --bytes-per-word $BYTES_PER_WORD" ++BOOTSTRAP_MC="$BOOTSTRAP_MC_COMPILER $BOOTSTRAP_MC_ARGS" ++#-----------------------------------------------------------------------------# + + echo "$as_me:$LINENO: checking for C shell executable" >&5 + echo $ECHO_N "checking for C shell executable... $ECHO_C" >&6 |