aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fakeroot/fakeroot-1.14.5/fix-prefix.patch
blob: 72e7528b0e33995a92537ab9bfbae79ddc7ac3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is not needed, kept just for reference.

--- fakeroot-1.14.5.orig/scripts/fakeroot.in	2009-11-15 04:09:21.000000000 +0100
+++ fakeroot-1.14.5/scripts/fakeroot.in	2011-01-12 20:10:02.897300394 +0100
@@ -30,8 +30,8 @@ fatal ()
 }
 
 # strip /bin/fakeroot to find install prefix
-FAKEROOT_PREFIX=@prefix@
-FAKEROOT_BINDIR=@bindir@
+FAKEROOT_BINDIR=`dirname $0`
+FAKEROOT_PREFIX=`dirname ${FAKEROOT_BINDIR}`
 
 USEABSLIBPATH=@LDPRELOADABS@
 LIB=lib@fakeroot_transformed@@DLSUFFIX@