fakeroot: make fakeroot script relocatable
authorJo-Philipp Wich <jo@mein.io>
Thu, 10 Sep 2020 12:52:31 +0000 (14:52 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 30 Oct 2020 00:39:09 +0000 (00:39 +0000)
commitf93cb5c2c8dcffae6f7bc80b9c7807de30d67371
tree7c8d2a08e9e6becd839106dcc276993fc5b78553
parent04757f964b9dd4190b27d51914a4c0053d4a38cd
fakeroot: make fakeroot script relocatable

Patch the fakeroot script template to discover faked and libfakeroot.so
relative to the STAGING_DIR_HOST environment variable, similar to how it
is done for automake, libtool, quilt and autoconf already.

This avoids the need for passing the paths to faked and libfakeroot.so
manually every time we invoke fakeroot and subsequently allows us to
drop OS X specific logic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tools/fakeroot/patches/000-relocatable.patch [new file with mode: 0644]