diff options
Diffstat (limited to 'meta/packages/fakeroot/files')
-rw-r--r-- | meta/packages/fakeroot/files/fix-prefix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/fakeroot/files/fix-prefix.patch b/meta/packages/fakeroot/files/fix-prefix.patch new file mode 100644 index 000000000..3884aca01 --- /dev/null +++ b/meta/packages/fakeroot/files/fix-prefix.patch @@ -0,0 +1,18 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- fakeroot-1.2.13/scripts/fakeroot.in~fix-prefix ++++ fakeroot-1.2.13/scripts/fakeroot.in +@@ -15,8 +15,8 @@ + } + + # strip /bin/fakeroot to find install prefix +-PREFIX=@prefix@ +-BINDIR=@bindir@ ++BINDIR=`dirname $0` ++PREFIX=`dirname ${BINDIR}` + + LIB=lib@fakeroot_transformed@.so.0 + PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot |