gnu: perl-tk: Build with gcc-12.

* gnu/packages/tcl.scm (perl-tk)[inputs]: Remove labels.  Add gcc-12.
[arguments]: Use G-Expressions.

Change-Id: I648817749e6b66ec7c650f13fe35a556b53fd33c
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 18:54:57 +01:00
parent 1c3a833254
commit 7293fa61d4
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -34,8 +34,9 @@ (define-module (gnu packages tcl)
#:use-module (guix build-system go)
#:use-module (guix build-system perl)
#:use-module (gnu packages)
#:use-module (gnu packages image)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages image)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages tls)
@ -278,15 +279,12 @@ (define-public perl-tk
"0pha40m97fzafjnq8vwkbi5sml6xv8jki6qi60rxrzmxlrqp5aij"))))
(build-system perl-build-system)
(native-inputs (list pkg-config))
(inputs `(("libx11" ,libx11)
("libpng" ,libpng)
("libjpeg" ,libjpeg-turbo)))
(inputs (list gcc-12 libx11 libpng libjpeg-turbo))
(arguments
`(#:make-maker-flags `(,(string-append
"X11=" (assoc-ref %build-inputs "libx11")))
;; Fails to build in parallel: <http://bugs.gnu.org/18262>.
#:parallel-build? #f))
(list
#:make-maker-flags #~(list (string-append "X11=" #$libx11))
;; Fails to build in parallel: <http://bugs.gnu.org/18262>.
#:parallel-build? #f))
(synopsis "Graphical user interface toolkit for Perl")
(description
"Tk is a Graphical User Interface ToolKit.")