aboutsummaryrefslogtreecommitdiffstats
path: root/fakeroot/fakeroot-native-1.0.7/fix-prefix.patch
blob: 8d60bcb530cfd35c3f02684707e9eb74e5f8ce44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- fakeroot-1.0.4/scripts/fakeroot.in~fix-prefix	2004-06-19 03:23:10.000000000 +0200
+++ fakeroot-1.0.4/scripts/fakeroot.in	2004-07-03 19:01:23.000000000 +0200
@@ -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=${PREFIX}/lib/libfakeroot:${PREFIX}/lib64/libfakeroot