fakeroot: use --program-prefix rather than manually renaming binaries
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 13 Mar 2011 22:46:54 +0000 (23:46 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 13 Mar 2011 22:46:54 +0000 (23:46 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/fakeroot/fakeroot.mk

index a67280486f2fe82debbe0b8fb5ca8961a2bb3720..8061443d78e94e9b394f21a7e2884d402077907d 100644 (file)
@@ -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))