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