… | |
… | |
68 | # support |
68 | # support |
69 | |
69 | |
70 | MKBUNDLE="${MKBUNDLE:=$STATICPERL/mkbundle}" |
70 | MKBUNDLE="${MKBUNDLE:=$STATICPERL/mkbundle}" |
71 | PERL_PREFIX="${PERL_PREFIX:=$STATICPERL/perl}" # where the perl gets installed |
71 | PERL_PREFIX="${PERL_PREFIX:=$STATICPERL/perl}" # where the perl gets installed |
72 | |
72 | |
73 | unset PERL5OPT PERL5LIB PERLLIB PERL_UNICODE PERLIO_DEBUG |
73 | unset PERL5OPT PERL5LIB PERLLIB PERL_UNICODE PERLIO_DEBUG |
|
|
74 | unset PERL_MM_OPT PERL_MB_OPT |
74 | LC_ALL=C; export LC_ALL # just to be on the safe side |
75 | LC_ALL=C; export LC_ALL # just to be on the safe side |
|
|
76 | |
|
|
77 | # prepend PATH - not required by staticperl itself, but might make |
|
|
78 | # life easier when working in e.g. "staticperl cpan / look" |
|
|
79 | PATH="$PERL_PREFIX/perl/bin:$PATH" |
75 | |
80 | |
76 | # set version in a way that Makefile.PL can extract |
81 | # set version in a way that Makefile.PL can extract |
77 | VERSION=VERSION; eval \ |
82 | VERSION=VERSION; eval \ |
78 | $VERSION="1.21" |
83 | $VERSION="1.21" |
79 | |
84 | |