From 0105ad9699e291d1203f204c3270d372e60602f8 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 16 Jan 2007 01:29:38 +0000 Subject: [PATCH] Remove all of the binaries except for the one used for the target even though it is a MIPS binary and cannot be used. This package is still crap. --- package/gettext/gettext.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 7a7340c3b4..c9b6fb9229 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -111,6 +111,9 @@ $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY) $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libgettextpo.la $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libgettextsrc.la $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libintl.la + rm -f $(STAGING_DIR)/bin/autopoint $(STAGING_DIR)/bin/envsubst + rm -f $(STAGING_DIR)/bin/gettext.sh $(STAGING_DIR)/bin/gettextize + rm -f $(STAGING_DIR)/bin/msg* $(STAGING_DIR)/bin/?gettext touch -c $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) gettext: uclibc pkgconfig $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) @@ -130,7 +133,7 @@ gettext-dirclean: gettext-target: $(GETTEXT_DIR)/$(GETTEXT_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) install - chmod +x $(TARGET_DIR)/lib/libintl.so.3.4.3 # identify as needing to be stipped + chmod +x $(TARGET_DIR)/lib/libintl.so.3.4.3 # identify as needing to be stripped rm -rf $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc \ $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/aclocal \ -- 2.30.2