From 77050ddd2b9ceeacb5ce7ade095f6fe0beb31df6 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 3 Dec 2003 01:16:29 +0000 Subject: If building without large file support, hack the Makefiles appropriately. --- make/bzip2.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make/bzip2.mk b/make/bzip2.mk index c16d785ac..6aa4a88df 100644 --- a/make/bzip2.mk +++ b/make/bzip2.mk @@ -10,10 +10,6 @@ BZIP2_CAT:=zcat BZIP2_BINARY:=$(BZIP2_DIR)/bzip2 BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore -ifeq ($(strip $(BUILD_WITH_LARGEFILE)),false) -BZIP2_LARGEFILE="--disable-largefile" -endif - $(DL_DIR)/$(BZIP2_SOURCE): $(WGET) -P $(DL_DIR) $(BZIP2_SITE)/$(BZIP2_SOURCE) @@ -24,6 +20,10 @@ $(BZIP2_DIR)/.unpacked: $(DL_DIR)/$(BZIP2_SOURCE) $(SED) "s,ln \$$(,ln -sf \$$(,g" $(BZIP2_DIR)/Makefile $(SED) "s,ln -s (lib.*),ln -sf \$$1 ; ln -sf libbz2.so.1.0.2 libbz2.so,g" \ $(BZIP2_DIR)/Makefile-libbz2_so +ifeq ($(strip $(BUILD_WITH_LARGEFILE)),false) + $(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile + $(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile-libbz2_so +endif touch $(BZIP2_DIR)/.unpacked $(STAGING_DIR)/lib/libbz2.so.1.0.2: $(BZIP2_DIR)/.unpacked -- cgit v1.2.3