From 01b9f1fb2e19f0d587bdbe77d9861d62de4dcd8f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 1 Feb 2018 10:05:54 +0100 Subject: made perl work in parallel build --- packages-i486-stage1/perl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages-i486-stage1') diff --git a/packages-i486-stage1/perl b/packages-i486-stage1/perl index 6626e6b..80032bf 100644 --- a/packages-i486-stage1/perl +++ b/packages-i486-stage1/perl @@ -1,6 +1,3 @@ -# cross-compiling perl doesn't work in parallel -NOPARALLEL_BUILD=1 - # the official cross-compilation support in Perl is weird and needs a # running remote SSH access to the real machine: # https://stackoverflow.com/questions/5464538/cross-compile-perl-for-arm @@ -11,6 +8,11 @@ sed -i "/md5sums=/ a\ 'SKIP'" PKGBUILD sed -i '1!N; /prepare() *{\n *cd/ a \ tar --strip-components=1 -zxf ${srcdir}/perl-cross-1.1.8.tar.gz' PKGBUILD sed -i "s@./Configure -des@./configure --target=$TARGET_ARCH@" PKGBUILD +# ./miniperl_top: no ./miniperl found; build it before using miniperl_top +# we can build in parallel with this small trick: there is a dependency +# missing from miniperl_top to miniperl it seems +sed -i 's/^ \+make$/make miniperl; make/' PKGBUILD + # rm: cannot remove '/home/cross/build/perl/pkg/perl/usr/bin/perl5.26.1': No such file or directory sed -i 's@\(rm "$pkgdir/usr/bin/perl$pkgver\)@#\1@g' PKGBUILD -- cgit v1.2.3-54-g00ecf