From: Michael Tremer Date: Thu, 25 Oct 2018 18:50:28 +0000 (+0100) Subject: perl: Fix build in toolchain X-Git-Tag: v2.21-core125~41^2~3 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=ce48278b21167684ba7d2f8924defbacd1b19305 perl: Fix build in toolchain Signed-off-by: Michael Tremer --- diff --git a/lfs/perl b/lfs/perl index 4eee16b804..a151e765b4 100644 --- a/lfs/perl +++ b/lfs/perl @@ -90,10 +90,11 @@ ifeq "$(ROOT)" "" cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install else - cd $(DIR_APP) && ./configure.gnu --prefix=$(TOOLS_DIR) -Dstatic_ext='Data/Dumper Fcntl IO' + cd $(DIR_APP) && ./Configure -des -Dprefix=$(TOOLS_DIR) \ + -Dlibs="-lm" -Uloclibpth -Ulocincpth cd $(DIR_APP) && sed -i 's/^0$$//' makefile cd $(DIR_APP) && sed -i 's/^0$$//' x2p/makefile - cd $(DIR_APP) && make perl utilities + cd $(DIR_APP) && make cd $(DIR_APP) && cp -v perl pod/pod2man $(TOOLS_DIR)/bin cd $(DIR_APP) && mkdir -pv $(TOOLS_DIR)/lib/perl5/$(VER) cd $(DIR_APP) && cp -Rv lib/* $(TOOLS_DIR)/lib/perl5/$(VER)