diff options
Diffstat (limited to 'recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch')
-rw-r--r-- | recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch b/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch new file mode 100644 index 0000000000..7aae9c8654 --- /dev/null +++ b/recipes/fakeroot/fakeroot-1.18.2/0002-fix-prefix.patch @@ -0,0 +1,30 @@ +From 6bc2fc6d3907df936ed476591d09d9fe029e22ed Mon Sep 17 00:00:00 2001 +From: Ulf Samuelsson <ulf@emagii.com> +Date: Mon, 30 Jan 2012 22:42:08 +0100 +Subject: [PATCH 2/2] fix prefix + +Ported from an earlier recipe in openembedded + +Signed-off-by: Ulf Samuelsson <ulf@emagii.com> +--- + scripts/fakeroot.in | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/scripts/fakeroot.in b/scripts/fakeroot.in +index 7e501bd..9a0e750 100755 +--- a/scripts/fakeroot.in ++++ b/scripts/fakeroot.in +@@ -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@ +-- +1.7.5.4 + |