]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
perl: Fix build in toolchain
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Oct 2018 18:50:28 +0000 (19:50 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Oct 2018 18:50:28 +0000 (19:50 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/perl

index 4eee16b804cbd70df65220aef8209b558a5367c8..a151e765b4b267ac4d715c6afe641816e44d0a9c 100644 (file)
--- 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)