Hello,
when gawk-3.1.5 enters the book, please update the Makefile as attached
(if it works and if it is equivalent to the book's actions). By
explicitly sendng the Makefile, I just want to avoid conflicts in the
utf8-newmake branch.
--
Alexander E. Patrakov
# Gawk Makefile
#==============================================================================
NM= gawk
VRS= 3.1.5
DIR= $(NM)-$(VRS)
FILE= $(DIR).tar.bz2
URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
SHA-$(FILE)= 0d5694461f1c32f1eae41a1c0d7ba0939b47e369
# Targets
# =============================================================================
include $(ROOT)/scripts/functions
stage1: $(FILE)
@$(std_build)
@cp $(SRC)/$(FILE) $(LFSSRC)
compile-stage1:
@$(call echo_message, Configuring)
#==============================================================================
# Configure commands below \/
#==============================================================================
@./configure --prefix=$(WD) --libexecdir=$(WD)/lib \
>../$(DIR)[EMAIL PROTECTED] 2>&1
@echo "#define HAVE_ISBLANK 1" >>config.h
@echo "#define HAVE_LANGINFO_CODESET 1" >>config.h
@echo "#define HAVE_LANGINFO_H 1" >>config.h
@echo "#define HAVE_LC_MESSAGES 1" >>config.h
#
#==Status Messages==========================================
#
@$(OK)
@$(call echo_message, Making)
#==============================================================================
# Make commands below \/
#==============================================================================
@make $(PM) >>../$(DIR)[EMAIL PROTECTED] 2>&1
#
#==Status Messages==========================================
#
@$(OK)
@$(call echo_message, Installing)
#==============================================================================
# Install commands below \/
#==============================================================================
@make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
#
#==Status Messages==========================================
#
@$(OK)
chroot:
@chroot "$(MP)" $(chenv-pre-bash) \
'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
stage2: Makefile $(FILE)
@$(std_build)
compile-stage2:
@$(call echo_message, Configuring)
#==============================================================================
# Configure commands below \/
#==============================================================================
@./configure --prefix=/usr --libexecdir=/usr/lib >../$(DIR)[EMAIL
PROTECTED] 2>&1
@echo "#define HAVE_ISBLANK 1" >>config.h
@echo "#define HAVE_LANGINFO_CODESET 1" >>config.h
@echo "#define HAVE_LANGINFO_H 1" >>config.h
@echo "#define HAVE_LC_MESSAGES 1" >>config.h
#
#==Status Messages==========================================
#
@$(OK)
@$(call echo_message, Making)
#==============================================================================
# Make commands below \/
#==============================================================================
@make $(PM) >>../$(DIR)[EMAIL PROTECTED] 2>&1
#
#==Status Messages===========================================
#
@$(OK)
@$(call echo_message, Installing)
#==============================================================================
# Install commands below \/
#==============================================================================
@make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
#
#==Status Messages===========================================
#
@$(OK)
clean:
@-rm -rf $(DIR)
.PHONY: compile-stage1 clean chroot compile-stage2
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page