File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -365,28 +365,28 @@ buildImageMagick(){
365
365
# param1: module directory
366
366
# param2: parameters to pass to Makefile.PL
367
367
installPerlModule () {
368
- cd $1
369
368
printHeader " PM $1 with $2 "
370
369
if [ " $WRE_CLEAN " == 1 ]; then
371
370
$WRE_MAKE distclean
372
371
$WRE_MAKE clean
373
372
fi
374
373
perl Makefile.PL $2 CCFLAGS=" $CFLAGS " ; checkError $? " $1 Makefile.PL"
375
374
$WRE_MAKE ; checkError $? " $1 make"
376
- # $WRE_MAKE test; checkError $? "$1 make test"
377
375
$WRE_MAKE install; checkError $? " $1 make install"
378
- cd ..
376
+ cd /data/wrebuild
379
377
}
380
378
381
379
installPerlModules () {
382
380
printHeader " Perl Modules"
383
- # cd source/perlmodules
384
381
export PERL_MM_USE_DEFAULT=1 # makes it so perl modules don't ask questions
385
382
cpan App::cpanminus
386
383
cpanm Task::WebGUI
387
384
if [ " $WRE_OSTYPE " != " Leopard" ] && [ " $WRE_OSTYPE " != " Snow Leopard" ]; then
388
385
cpanm http://backpan.perl.org/authors/id/D/DU/DURIST/Proc-ProcessTable-0.44.tar.gz
389
386
fi
387
+ mkdir -p source/perlmodules
388
+ chdir source/perlmodules
389
+ cpanm --look Text::Aspell
390
390
installPerlModule " Text-Aspell-0.09" " LIBS='-laspell'"
391
391
# detecting shared memory properly on 2.6 kernels
392
392
if [ " $WRE_OSNAME " == " Linux" ]; then
You can’t perform that action at this time.
0 commit comments