fix-prefix.patch 421 B

123456789101112131415
  1. Index: fakeroot-1.12.1/scripts/fakeroot.in
  2. ===================================================================
  3. --- fakeroot-1.12.1.orig/scripts/fakeroot.in
  4. +++ fakeroot-1.12.1/scripts/fakeroot.in
  5. @@ -30,8 +30,8 @@
  6. }
  7. # strip /bin/fakeroot to find install prefix
  8. -PREFIX=@prefix@
  9. -BINDIR=@bindir@
  10. +BINDIR=`dirname $0`
  11. +PREFIX=`dirname ${BINDIR}`
  12. USEABSLIBPATH=@LDPRELOADABS@
  13. LIB=lib@fakeroot_transformed@@DLSUFFIX@