- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 684
Description
This does a few things:
- 
Updates the gcc SPKG to support DESTDIR installation so that it can now be uninstalled as well 
- 
This includes a patch (adapted from Debian) to make gcc install libraries to ${prefix}/libinstead of${prefix}/lib64on Linux (this does not appear to be a problem on Cygwin, macOS, or FreeBSD that I'm aware of).
- 
Additional refactoring to reduce duplication between the gcc and gfortran SPKGs: This includes the patches from gcc as the can also be relevant to gfortran. 
I've tested this a good bit on Linux (being able to uninstall gcc now is nice), but it needs more testing on other platforms, particularly macOS since it's the primary case for installing this package in the first place, and involves additional workarounds.
This would also fix #26996 for the case of installing gfortran on Linux.
CC: @vbraun @dimpase @jdemeyer @Konrad127123
Component: build
Keywords: destdir gcc
Author: Erik Bray
Branch/Commit: a1d8ce9
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27016