1 | #! sh |
1 | #! sh |
2 | |
2 | |
3 | "$MAKE" || exit |
3 | "$MAKE" || exit |
4 | |
|
|
5 | "$PERL_PREFIX"/bin/SP-patch-postinstall |
|
|
6 | |
4 | |
7 | if find blib/arch/auto -type f \( -name "*.a" -o -name "*.obj" -o -name "*.lib" \) | grep -q .; then |
5 | if find blib/arch/auto -type f \( -name "*.a" -o -name "*.obj" -o -name "*.lib" \) | grep -q .; then |
8 | echo Probably a static XS module, rebuilding perl |
6 | echo Probably a static XS module, rebuilding perl |
9 | if "$MAKE" all perl; then |
7 | if "$MAKE" all perl; then |
10 | mv perl "$PERL_PREFIX"/bin/perl~ \ |
8 | mv perl "$PERL_PREFIX"/bin/perl~ \ |
… | |
… | |
15 | "$MAKE" -f Makefile.aperl map_clean |
13 | "$MAKE" -f Makefile.aperl map_clean |
16 | exit 1 |
14 | exit 1 |
17 | fi |
15 | fi |
18 | fi |
16 | fi |
19 | |
17 | |
20 | "$MAKE" install UNINST=1 |
18 | "$MAKE" install UNINST=1 || exit |
21 | |
19 | |
|
|
20 | "$PERL_PREFIX"/bin/SP-patch-postinstall |
|
|
21 | |