[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61776: [PATCH] gnu: perl-extutils-pkgconfig: Support cross-compilati
From: |
Maxim Cournoyer |
Subject: |
bug#61776: [PATCH] gnu: perl-extutils-pkgconfig: Support cross-compilation. |
Date: |
Mon, 06 Mar 2023 22:12:28 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Christopher Baines <mail@cbaines.net> writes:
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> * guix/search-paths.scm ($PKG_CONFIG_PATH): New variable.
>> * gnu/packages/pkg-config.scm (%pkg-config): Use it.
>> * gnu/packages/perl.scm (perl-extutils-pkgconfig-for-target): New procedure.
>> (perl-extutils-pkgconfig): Turn into a syntax that
>> conditionally expands to...
>> (cross-perl-extutils-pkgconfig): ... this when %current-target-system is set,
>> or...
>> (%perl-extutils-pkgconfig): ... this in a native compilation context.
>> [arguments]: New field.
>> [propagated-inputs]: Turn into...
>> [native-inputs]: ... this.
>> [native-search-paths]: New field.
>> ---
>>
>> gnu/packages/perl.scm | 63 ++++++++++++++++++++++++++++++++++---
>> gnu/packages/pkg-config.scm | 5 ++-
>> guix/search-paths.scm | 8 +++++
>> 3 files changed, 68 insertions(+), 8 deletions(-)
>
> I guess I've been sent this email personally because of "teams", it's
> quite confusing, I can't determine the bug number from the email, but I
> believe it's #61776. I'm going to reply to that bug.
>
> Anyway, according to QA this might break perl-gtk2. Unfortunately the
> comparison is a bit confused due to the openmpi related breakage, so do
> ignore that in the comparison.
I fixed perl-gtk2; it also required pkg-config, which
perl-extutils-pkgconfig no longer propagates, and pushed.
Thanks for the heads-up and the useful data!
--
Maxim