gnu: icu4j: Fix build.
* gnu/packages/icu4c.scm (icu4j)[arguments]: Use gexp for 'make-flags'.
This commit is contained in:
		
							parent
							
								
									68557cd2f3
								
							
						
					
					
						commit
						048934c3b6
					
				
					 1 changed files with 15 additions and 12 deletions
				
			
		|  | @ -8,6 +8,7 @@ | ||||||
| ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> | ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> | ||||||
| ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | ||||||
| ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> | ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> | ||||||
|  | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> | ||||||
| ;;; | ;;; | ||||||
| ;;; This file is part of GNU Guix. | ;;; This file is part of GNU Guix. | ||||||
| ;;; | ;;; | ||||||
|  | @ -29,6 +30,7 @@ | ||||||
|   #:use-module (gnu packages java) |   #:use-module (gnu packages java) | ||||||
|   #:use-module (gnu packages perl) |   #:use-module (gnu packages perl) | ||||||
|   #:use-module (gnu packages python) |   #:use-module (gnu packages python) | ||||||
|  |   #:use-module (guix gexp) | ||||||
|   #:use-module (guix licenses) |   #:use-module (guix licenses) | ||||||
|   #:use-module (guix packages) |   #:use-module (guix packages) | ||||||
|   #:use-module (guix utils) |   #:use-module (guix utils) | ||||||
|  | @ -164,17 +166,18 @@ C/C++ part.") | ||||||
|     (build-system ant-build-system) |     (build-system ant-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:make-flags |      `(#:make-flags | ||||||
|        (list (string-append "-Djunit.core.jar=" |        ,#~(list | ||||||
|  |            (string-append "-Djunit.core.jar=" | ||||||
|                           (car (find-files |                           (car (find-files | ||||||
|                                    (assoc-ref %build-inputs "java-junit") |                                 #$(this-package-native-input "java-junit") | ||||||
|                                 ".*.jar$"))) |                                 ".*.jar$"))) | ||||||
|            (string-append "-Djunit.junitparams.jar=" |            (string-append "-Djunit.junitparams.jar=" | ||||||
|                           (car (find-files |                           (car (find-files | ||||||
|                                    (assoc-ref %build-inputs "java-junitparams") |                                 #$(this-package-native-input "java-junitparams") | ||||||
|                                 ".*.jar$"))) |                                 ".*.jar$"))) | ||||||
|            (string-append "-Djunit.hamcrest.jar=" |            (string-append "-Djunit.hamcrest.jar=" | ||||||
|                           (car (find-files |                           (car (find-files | ||||||
|                                    (assoc-ref %build-inputs "java-hamcrest-core") |                                 #$(this-package-native-input "java-hamcrest-core") | ||||||
|                                 ".*.jar$")))) |                                 ".*.jar$")))) | ||||||
|        #:phases |        #:phases | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|  |  | ||||||
		Reference in a new issue