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'.
master
Efraim Flashner 2016-10-09 23:10:04 +03:00
parent fedcb99d84
commit a9c958b5aa
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 7 additions and 0 deletions

View File

@ -558,6 +558,13 @@ as the 'native-search-paths' field."
(string-append line " -Wl,-rpath=$(libdir)"))
(("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 _