guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: gfortran: Remove non-'eq?' duplicate of address@hidden


From: Ludovic Courtès
Subject: 01/04: gnu: gfortran: Remove non-'eq?' duplicate of address@hidden
Date: Mon, 2 Jan 2017 15:39:37 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 9af076245f2e9e708314e4267c2f7c732aaff3b2
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 2 14:42:56 2017 +0100

    gnu: gfortran: Remove non-'eq?' duplicate of address@hidden
    
    * gnu/packages/gcc.scm (gfortran): Turn into an alias for GFORTRAN-4.9.
---
 gnu/packages/gcc.scm |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 0f3f36e..cfd33f8 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès 
<address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014, 2015, 2016 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
@@ -494,8 +494,11 @@ as the 'native-search-paths' field."
               %generic-search-paths))
 
 (define-public gfortran
-  (custom-gcc gcc "gfortran" '("fortran")
-              %generic-search-paths))
+  ;; Note: Update this when GCC changes!  We cannot use
+  ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
+  ;; that is not 'eq?' with GFORTRAN-4.9, and thus 'fold-packages' would
+  ;; report two address@hidden that are in fact identical.
+  gfortran-4.9)
 
 (define-public gfortran-5
   (custom-gcc gcc-5 "gfortran" '("fortran")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]