aboutsummaryrefslogtreecommitdiff
path: root/package/fakeroot
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-04-01 14:15:19 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-04-01 14:15:19 +0000
commitd290edadb96cbef93991338862a34ae246cb2e21 (patch)
tree1e330aad6a4594a2afecc1596941635db80418d2 /package/fakeroot
parent512d08afff608fc7d826eb5951d71e3e3ba6bd4b (diff)
downloadbuildroot-d290edadb96cbef93991338862a34ae246cb2e21.tar.gz
buildroot-d290edadb96cbef93991338862a34ae246cb2e21.tar.bz2
fakeroot: install into HOST_DIR
Diffstat (limited to 'package/fakeroot')
-rw-r--r--package/fakeroot/fakeroot.mk14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index 2ebccc9393..0db6628c63 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -36,8 +36,7 @@ $(FAKEROOT_DIR1)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked
(cd $(FAKEROOT_DIR1); rm -rf config.cache; \
CC="$(HOSTCC)" \
$(FAKEROOT_SOURCE_DIR)/configure \
- --prefix=/usr \
- $(DISABLE_NLS) \
+ --prefix=$(HOST_DIR)/usr \
)
touch $@
@@ -45,16 +44,11 @@ $(FAKEROOT_DIR1)/faked: $(FAKEROOT_DIR1)/.configured
$(MAKE) -C $(FAKEROOT_DIR1)
touch -c $@
-$(STAGING_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR1)/faked
- $(MAKE) DESTDIR=$(STAGING_DIR) -C $(FAKEROOT_DIR1) install
- $(SED) 's,^PREFIX=.*,PREFIX=$(STAGING_DIR)/usr,g' $(STAGING_DIR)/usr/bin/fakeroot
- $(SED) 's,^BINDIR=.*,BINDIR=$(STAGING_DIR)/usr/bin,g' $(STAGING_DIR)/usr/bin/fakeroot
- $(SED) 's,^PATHS=.*,PATHS=$(FAKEROOT_DIR1)/.libs:/lib:/usr/lib,g' $(STAGING_DIR)/usr/bin/fakeroot
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
- $(STAGING_DIR)/usr/lib/libfakeroot.la
+$(HOST_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR1)/faked
+ $(MAKE) -C $(FAKEROOT_DIR1) install
touch -c $@
-host-fakeroot: uclibc $(STAGING_DIR)/usr/bin/fakeroot
+host-fakeroot: uclibc $(HOST_DIR)/usr/bin/fakeroot
host-fakeroot-clean:
-$(MAKE) -C $(FAKEROOT_DIR1) clean