#12112: Update the prereq script
-------------------------------------------------+--------------------------
       Reporter:  jdemeyer                       |         Owner:  GeorgSWeber  
               
           Type:  defect                         |        Status:  needs_review 
               
       Priority:  major                          |     Milestone:  sage-5.0     
               
      Component:  build                          |    Resolution:               
               
       Keywords:                                 |   Work issues:               
               
Report Upstream:  N/A                            |     Reviewers:  Jeroen 
Demeyer, David Kirkby
        Authors:  John Palmieri, Jeroen Demeyer  |     Merged in:               
               
   Dependencies:  #12739, #12785                 |      Stopgaps:               
               
-------------------------------------------------+--------------------------

Comment (by jdemeyer):

 Ok, I'm making the following changes:
 {{{
 #!diff
 --- a/spkg/base/prereq-1.0-install
 +++ b/spkg/base/prereq-1.0-install
 @@ -5,7 +5,7 @@


  TARGET=prereq-1.0
 -if [ "$SAGE_BUILD_DIR" = "" ]; then
 +if [ "x$SAGE_BUILD_DIR" = x ]; then
      SAGE_BUILD_DIR="$SAGE_ROOT/spkg/build"
  fi
  mkdir -p "$SAGE_BUILD_DIR"
 @@ -22,7 +22,7 @@
  echo "Starting prerequisite check."
  echo "Machine: `uname -a`"

 -if [ "$SAGE_PORT" = "" ]; then
 +if [ "x$SAGE_PORT" = x ]; then
      if [ `uname | sed -e 's/WIN.\+/WIN/'` = "CYGWIN" ]; then
          echo "Unfortunately, building SAGE on Cygwin is not currently
 supported,"
          echo "though we are actively working on supporting it.  If you
 would like"
 @@ -138,7 +138,7 @@
      fi

      # If we are installing GCC, skip all compiler checks in ./configure
 -    if [ "$SAGE_BUILD_TOOLCHAIN" = yes ]; then
 +    if [ "x$SAGE_BUILD_TOOLCHAIN" = xyes ]; then
          PREREQ_OPTIONS="--disable-compiler-checks $PREREQ_OPTIONS"
      fi

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12112#comment:24>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to