Don't escape forward slashes to prevent a warning from grep 3.8. diff --git a/tests/link-order.at b/tests/link-order.at --- a/tests/link-order.at +++ b/tests/link-order.at @@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems have different path syntax case $hardcode_direct$hardcode_direct_absolute in yesno) AT_CHECK([if $EGREP relinking stderr; then - $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout + $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout else :; fi], [0], [ignore], [], [echo "wrong link order"]) ;; *) AT_CHECK([if $EGREP relinking stderr; then - $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout + $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout else :; fi], [0], [ignore], [], [echo "wrong link order"]) ;; esac diff --git a/tests/testsuite b/tests/testsuite --- a/tests/testsuite +++ b/tests/testsuite @@ -20611,11 +20611,11 @@ aix* | interix*) ;; # These systems have different path syntax yesno) { set +x $as_echo "$at_srcdir/link-order.at:101: if \$EGREP relinking stderr; then - \$EGREP \" .*\\/new\\/lib/libb\$shared_ext .*\\/old\\/lib/libcee\$shared_ext\" stdout + \$EGREP \" .*/new/lib/libb\$shared_ext .*/old/lib/libcee\$shared_ext\" stdout else :; fi" at_fn_check_prepare_notrace 'an embedded newline' "link-order.at:101" ( $at_check_trace; if $EGREP relinking stderr; then - $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout + $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout else :; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false @@ -20633,11 +20633,11 @@ $at_traceon; } *) { set +x $as_echo "$at_srcdir/link-order.at:106: if \$EGREP relinking stderr; then - \$EGREP \" -L.*\\/new\\/lib -lb -L.*\\/old\\/lib -lcee\" stdout + \$EGREP \" -L.*/new\\/lib -lb -L.*/old/lib -lcee\" stdout else :; fi" at_fn_check_prepare_notrace 'an embedded newline' "link-order.at:106" ( $at_check_trace; if $EGREP relinking stderr; then - $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout + $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout else :; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false /gnu/packages?id=e5f6d0ecafba223031d8f379a91961842ca593a6&showmsg=1'>packages/pkg-config.scm
AgeCommit message (Collapse)Author
2023-03-06gnu: perl-extutils-pkgconfig: Support cross-compilation.Maxim Cournoyer
* 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.
2022-09-13gnu: Add pkgconf.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf): New variable.