index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-01 10:05:54 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-01 10:05:54 +0100 |
commit | 01b9f1fb2e19f0d587bdbe77d9861d62de4dcd8f (patch) | |
tree | db7f681ce0fe4969e85e9627a919cacb64a5d42a /packages-i486-stage1 | |
parent | 96306251769086a8e9ff933d2d7d1560bf55df7b (diff) |
-rw-r--r-- | packages-i486-stage1/perl | 8 |
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 |