diff options
Diffstat (limited to 'recipes/fakeroot/files/fix-prefix.patch')
-rw-r--r-- | recipes/fakeroot/files/fix-prefix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/fakeroot/files/fix-prefix.patch b/recipes/fakeroot/files/fix-prefix.patch new file mode 100644 index 0000000000..3c47bd7650 --- /dev/null +++ b/recipes/fakeroot/files/fix-prefix.patch @@ -0,0 +1,15 @@ +Index: fakeroot-1.12.1/scripts/fakeroot.in +=================================================================== +--- fakeroot-1.12.1.orig/scripts/fakeroot.in ++++ fakeroot-1.12.1/scripts/fakeroot.in +@@ -30,8 +30,8 @@ + } + + # strip /bin/fakeroot to find install prefix +-PREFIX=@prefix@ +-BINDIR=@bindir@ ++BINDIR=`dirname $0` ++PREFIX=`dirname ${BINDIR}` + + USEABSLIBPATH=@LDPRELOADABS@ + LIB=lib@fakeroot_transformed@@DLSUFFIX@ |