summaryrefslogtreecommitdiff
path: root/make/perl.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-13 06:02:20 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-13 06:02:20 +0000
commit620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d (patch)
treeaa08afb7d58fabed8f365bf373751992b792680c /make/perl.mk
parent192bace39e7c0fe5c4ccf9add25b67cb37f8abdc (diff)
By popular demand, use 'sed' rather than 'perl' for doing
search and replace stuff. Hopefully we do not have any perl specific regexs that will be broken by this change, but it seems to be working thus far anyways,
Diffstat (limited to 'make/perl.mk')
-rw-r--r--make/perl.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/perl.mk b/make/perl.mk
index f76a178d3..ffda6d16d 100644
--- a/make/perl.mk
+++ b/make/perl.mk
@@ -22,11 +22,11 @@ $(PERL_DIR)/.unpacked: $(DL_DIR)/$(PERL_SOURCE)
$(PERL_CAT) $(DL_DIR)/$(PERL_SOURCE) | tar -C $(BUILD_DIR) -xvf -
$(PERL_CAT) $(PERL_SOURCE_2) | tar -C $(PERL_DIR) -xvf -
cat $(PERL_PATCH) | patch -p1 -d $(PERL_DIR)
- perl -pi -e "s,^ARCH.*,ARCH=$(ARCH)," $(PERL_DIR)/cross/config
- perl -pi -e "s,^CONFIG_TARGET_.*,\#," $(PERL_DIR)/cross/config
- perl -pi -e "s,^export CROSS=.*,export CROSS=$(TARGET_CROSS)," $(PERL_DIR)/cross/Makefile
- perl -pi -e "s,TARGET_ARCH,$(ARCH)," $(PERL_DIR)/cross/config.sh.uclibc
- perl -pi -e "s,TARGET_CROSS,$(TARGET_CROSS)," $(PERL_DIR)/cross/config.sh.uclibc
+ sed -ie "s,^ARCH.*,ARCH=$(ARCH)," $(PERL_DIR)/cross/config
+ sed -ie "s,^CONFIG_TARGET_.*,\#," $(PERL_DIR)/cross/config
+ sed -ie "s,^export CROSS=.*,export CROSS=$(TARGET_CROSS)," $(PERL_DIR)/cross/Makefile
+ sed -ie "s,TARGET_ARCH,$(ARCH)," $(PERL_DIR)/cross/config.sh.uclibc
+ sed -ie "s,TARGET_CROSS,$(TARGET_CROSS)," $(PERL_DIR)/cross/config.sh.uclibc
touch $(PERL_DIR)/.unpacked
$(PERL_DIR)/.configured: $(PERL_DIR)/.unpacked