Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-06 Thread Mike Gilbert
On Wed, Jan 6, 2021 at 5:47 PM James Le Cuirot wrote: > > On Mon, 4 Jan 2021 19:28:37 -0500 > Mike Gilbert wrote: > > > On Mon, Jan 4, 2021 at 6:45 PM Mike Gilbert wrote: > > > > > > On Mon, Jan 4, 2021 at 6:18 PM James Le Cuirot wrote: > > > > $ PKG_CONFIG_SYSROOT_DIR=/foo pkg-config

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-06 Thread James Le Cuirot
On Mon, 4 Jan 2021 19:28:37 -0500 Mike Gilbert wrote: > On Mon, Jan 4, 2021 at 6:45 PM Mike Gilbert wrote: > > > > On Mon, Jan 4, 2021 at 6:18 PM James Le Cuirot wrote: > > > $ PKG_CONFIG_SYSROOT_DIR=/foo pkg-config --variable=udevdir udev > > > /lib/udev > > > > > > The udevdir variable is

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-04 Thread Mike Gilbert
On Mon, Jan 4, 2021 at 6:45 PM Mike Gilbert wrote: > > On Mon, Jan 4, 2021 at 6:18 PM James Le Cuirot wrote: > > $ PKG_CONFIG_SYSROOT_DIR=/foo pkg-config --variable=udevdir udev > > /lib/udev > > > > The udevdir variable is not affected by PKG_CONFIG_SYSROOT_DIR at all. > > And why would it be?

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-04 Thread Mike Gilbert
On Mon, Jan 4, 2021 at 6:18 PM James Le Cuirot wrote: > $ PKG_CONFIG_SYSROOT_DIR=/foo pkg-config --variable=udevdir udev > /lib/udev > > The udevdir variable is not affected by PKG_CONFIG_SYSROOT_DIR at all. > And why would it be? The man page says that this variable is only > applied to -I and

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-04 Thread James Le Cuirot
On Sun, 3 Jan 2021 10:16:49 -0500 Mike Gilbert wrote: > On Sun, Jan 3, 2021 at 7:52 AM James Le Cuirot wrote: > > > > On Sat, 2 Jan 2021 20:09:04 -0500 > > Mike Gilbert wrote: > > > > > When cross-compiling, users will typically have > > > PKG_CONFIG_SYSROOT=${SYSROOT} defined via

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-03 Thread Mike Gilbert
On Sun, Jan 3, 2021 at 7:52 AM James Le Cuirot wrote: > > On Sat, 2 Jan 2021 20:09:04 -0500 > Mike Gilbert wrote: > > > When cross-compiling, users will typically have > > PKG_CONFIG_SYSROOT=${SYSROOT} defined via pkg-config wrapper. > > > > When PKG_CONFIG_SYSROOT is set, all paths included in

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-03 Thread James Le Cuirot
On Sun, 3 Jan 2021 12:52:08 + James Le Cuirot wrote: > On Sat, 2 Jan 2021 20:09:04 -0500 > Mike Gilbert wrote: > > > When cross-compiling, users will typically have > > PKG_CONFIG_SYSROOT=${SYSROOT} defined via pkg-config wrapper. > > > > When PKG_CONFIG_SYSROOT is set, all paths

Re: [gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-03 Thread James Le Cuirot
On Sat, 2 Jan 2021 20:09:04 -0500 Mike Gilbert wrote: > When cross-compiling, users will typically have > PKG_CONFIG_SYSROOT=${SYSROOT} defined via pkg-config wrapper. > > When PKG_CONFIG_SYSROOT is set, all paths included in pkg-config > output get prefixed with this value. > >

[gentoo-dev] [PATCH] systemd.eclass: remove SYSROOT from pkg-config output

2021-01-02 Thread Mike Gilbert
When cross-compiling, users will typically have PKG_CONFIG_SYSROOT=${SYSROOT} defined via pkg-config wrapper. When PKG_CONFIG_SYSROOT is set, all paths included in pkg-config output get prefixed with this value. Signed-off-by: Mike Gilbert --- This patch has already been pushed, but I figured