summaryrefslogtreecommitdiffstats
path: root/make/netkitbase.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-18 17:56:52 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-18 17:56:52 +0000
commit84c90117669a5e574a5c80073a6a6ce0e7a6b21f (patch)
tree34c0f305bffb64765dc4eefd5e2b8fc166703869 /make/netkitbase.mk
parent6b4ce4ee0dee13ebabfbb585466af7ed1fad49bf (diff)
downloadbuildroot-novena-84c90117669a5e574a5c80073a6a6ce0e7a6b21f.tar.gz
buildroot-novena-84c90117669a5e574a5c80073a6a6ce0e7a6b21f.zip
Fix some more perl -> sed conversion problems
Diffstat (limited to 'make/netkitbase.mk')
-rw-r--r--make/netkitbase.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/netkitbase.mk b/make/netkitbase.mk
index 248240ebe..13d1fee58 100644
--- a/make/netkitbase.mk
+++ b/make/netkitbase.mk
@@ -18,7 +18,7 @@ netkitbase-source: $(DL_DIR)/$(NETKITBASE_SOURCE)
$(NETKITBASE_DIR)/.unpacked: $(DL_DIR)/$(NETKITBASE_SOURCE)
$(NETKITBASE_CAT) $(DL_DIR)/$(NETKITBASE_SOURCE) | tar -C $(BUILD_DIR) -xvf -
# use ANSI syntax
- sed -i -e "s/main\(\)/main(void)/;" $(NETKITBASE_DIR)/configure
+ sed -i -e "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure
# don't try to run cross compiled binaries while configuring things
sed -i -e "s~./__conftest~#./__conftest~;" $(NETKITBASE_DIR)/configure
touch $(NETKITBASE_DIR)/.unpacked
@@ -39,7 +39,7 @@ $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY): $(NETKITBASE_DIR)/$(NETKITBASE_BINARY
cp $(NETKITBASE_DIR)/$(NETKITBASE_BINARY) $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
mkdir -p $(TARGET_DIR)/etc
cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/
- sed -i -e "s/^([a-z])/#\1/;" $(TARGET_DIR)/etc/inetd.conf
+ sed -i -e "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf
#$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(NETKITBASE_DIR) install
#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
# $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc