summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-05-27 09:53:01 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-27 09:53:01 +0200
commit062cebb08fa9079b39f61144224de2ad2e2e56a6 (patch)
tree3cda65014deca43b3b92ffa8cd2f556971cb40cf /package
parent74c0c949a89ea3e8abd083dfe17ced747ad16ee6 (diff)
microperl: fix build with /bin/sh = dash
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/microperl/microperl.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk
index 7985a65e8..869d99cb7 100644
--- a/package/microperl/microperl.mk
+++ b/package/microperl/microperl.mk
@@ -22,6 +22,11 @@ $(DL_DIR)/$(MICROPERL_SOURCE):
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
$(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ # makedepend contains bashisms
+ $(SED) 's~sh ./makedepend~bash ./makedepend~' \
+ $(MICROPERL_DIR)/Makefile.SH \
+ $(MICROPERL_DIR)/x2p/Makefile.SH \
+ $(MICROPERL_DIR)/pod/Makefile.SH
chmod -R u+w $(MICROPERL_DIR)
touch $@