summaryrefslogtreecommitdiffstats
path: root/recipes/fakeroot/fakeroot-1.9.6/fix-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/fakeroot/fakeroot-1.9.6/fix-prefix.patch')
-rw-r--r--recipes/fakeroot/fakeroot-1.9.6/fix-prefix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/fakeroot/fakeroot-1.9.6/fix-prefix.patch b/recipes/fakeroot/fakeroot-1.9.6/fix-prefix.patch
new file mode 100644
index 0000000000..3884aca01c
--- /dev/null
+++ b/recipes/fakeroot/fakeroot-1.9.6/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