… | |
… | |
2 | |
2 | |
3 | "$MAKE" || exit |
3 | "$MAKE" || exit |
4 | |
4 | |
5 | "$PERL_PREFIX"/bin/SP-patch-postinstall |
5 | "$PERL_PREFIX"/bin/SP-patch-postinstall |
6 | |
6 | |
7 | if find blib/arch/auto -type f | grep -q -v .exists; then |
7 | if find blib/arch/auto -type f \( -name "*.a" -o -name "*.obj" -o -name "*.lib" \) | grep -q .; then |
8 | echo Probably an XS module, rebuilding perl |
8 | echo Probably a static XS module, rebuilding perl |
9 | if "$MAKE" all perl; then |
9 | if "$MAKE" all perl; then |
10 | mv perl "$PERL_PREFIX"/bin/perl~ \ |
10 | mv perl "$PERL_PREFIX"/bin/perl~ \ |
11 | && rm -f "$PERL_PREFIX"/bin/perl \ |
11 | && rm -f "$PERL_PREFIX"/bin/perl \ |
12 | && mv "$PERL_PREFIX"/bin/perl~ "$PERL_PREFIX"/bin/perl |
12 | && mv "$PERL_PREFIX"/bin/perl~ "$PERL_PREFIX"/bin/perl |
13 | "$MAKE" -f Makefile.aperl map_clean |
13 | "$MAKE" -f Makefile.aperl map_clean |