summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-13 22:46:54 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-03-13 22:46:54 (GMT)
commitb698051d599206a9b90e425a8fc54225410dd762 (patch)
tree387e0a80c794003350052f322dbd164eedd927ae
parent950ee4585b7d941c264cbe2b597845fcb5e3eef8 (diff)
downloadbuildroot-b698051d599206a9b90e425a8fc54225410dd762.tar.gz
buildroot-b698051d599206a9b90e425a8fc54225410dd762.tar.bz2
fakeroot: use --program-prefix rather than manually renaming binaries
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/fakeroot/fakeroot.mk10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index a672804..8061443 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -6,6 +6,7 @@
FAKEROOT_VERSION:=1.9.5
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
FAKEROOT_SITE:=http://snapshot.debian.org/archive/debian/20080427T000000Z/pool/main/f/fakeroot/
+FAKEROOT_CONF_OPT = --program-prefix=''
define FAKEROOT_PATCH_FAKEROOT_IN
# If using busybox getopt, make it be quiet.
@@ -15,14 +16,5 @@ endef
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
-define FAKEROOT_RENAME_TARGET_BINARIES
- -mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-faked \
- $(TARGET_DIR)/usr/bin/faked
- -mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-fakeroot \
- $(TARGET_DIR)/usr/bin/fakeroot
-endef
-
-FAKEROOT_POST_INSTALL_TARGET_HOOKS += FAKEROOT_RENAME_TARGET_BINARIES
-
$(eval $(call AUTOTARGETS,package,fakeroot))
$(eval $(call AUTOTARGETS,package,fakeroot,host))