guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: gcj: Switch dejagnu test command.


From: Efraim Flashner
Subject: 01/01: gnu: gcj: Switch dejagnu test command.
Date: Sun, 9 Oct 2016 21:17:32 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit a9c958b5aa55a729a1530b2e23e088bb982f696c
Author: Efraim Flashner <address@hidden>
Date:   Sun Oct 9 23:10:04 2016 +0300

    gnu: gcj: Switch dejagnu test command.
    
    * gnu/packages/gcc.scm (gcj)[arguments]: Switch the depreciated dejagnu
    command 'absolute' for the new testing command 'file normalize'.
---
 gnu/packages/gcc.scm |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 3880cab..c961c84 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -559,6 +559,13 @@ as the 'native-search-paths' field."
                 (("libgcj(_bc)?_la_LDFLAGS =" ldflags _)
                  (string-append ldflags " -Wl,-rpath=$(libdir)")))))
            (add-after
+            'unpack 'patch-testsuite
+            ;; dejagnu-1.6 removes the 'absolute' command
+            (lambda _
+              (substitute* "libjava/testsuite/lib/libjava.exp"
+                (("absolute") "file normalize"))
+              #t))
+           (add-after
             'install 'install-javac-and-javap-wrappers
             (lambda _
               (let* ((javac  (assoc-ref %build-inputs "javac.in"))



reply via email to

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