diff options
Diffstat (limited to 'package/fakeroot')
-rw-r--r-- | package/fakeroot/fakeroot.mk | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index 2ebccc939..0db6628c6 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 |