#12369: Add a gcc package
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  jdemeyer                                                      
                                                                                
                                                                          |     
    Owner:                 
           Type:  task                                                          
                                                                                
                                                                          |     
   Status:  closed         
       Priority:  major                                                         
                                                                                
                                                                          |     
Milestone:  sage-5.0       
      Component:  packages                                                      
                                                                                
                                                                          |    
Resolution:  fixed          
       Keywords:                                                                
                                                                                
                                                                          |   
Work issues:                 
Report Upstream:  N/A                                                           
                                                                                
                                                                          |     
Reviewers:  Simon King     
        Authors:  Jeroen Demeyer                                                
                                                                                
                                                                          |     
Merged in:  sage-5.0.beta13
   Dependencies:  #12479, #12602, #12608, #12609, #12647, #10492, #12367, 
#12368, #12405, #12570, #12574, #12423, #12425, #12456, #12363, #12223, #12515, 
#12519, #12548, #12562, #12629, #12638, #12714, #12647, #12739, #12112, #12631  
|      Stopgaps:                 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Comment (by leif):

 Replying to [comment:233 jdemeyer]:
 > Changed that code to
 > {{{
 > #!sh
 > # If spkg/bin/sage-env doesn't exist, we are surely upgrading (sage-env
 > # was moved to spkg/bin in sage-5.0).  Manually set SAGE_UPGRADING=yes,
 > # as old versions of sage-upgrade didn't do this.
 > # Also avoid RM being set to "rm":
 > #   http://trac.sagemath.org/sage_trac/ticket/3537
 > if [ ! -f "$SAGE_ROOT/spkg/bin/sage-env" ]; then
 >     SAGE_UPGRADING=yes
 >     if [ "$RM" = rm ]; then
 >         unset RM
 >     fi
 > fi
 > }}}
 > This should remove the need to do "unset RM" in various `spkg-install`
 files.  This change is unrelated to the ticket, but I put it here because
 I was patching `spkg/install` anyway and I didn't want to complicate
 ticket dependencies.

 I'd just `unset RM` (or actually check whether `$RM non-existent-file`
 raises an error), since `RM` could be defined to `rm -i`, `rm -v`,
 `/bin/rm` or whatever, and not necessarily intentionally set by the user.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12369#comment:240>
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