Skip to content

Commit 0a521c3

Browse files
committedJan 4, 2012
Use cpanm to download and install the Text::Aspell module
1 parent e07d824 commit 0a521c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -365,28 +365,28 @@ buildImageMagick(){
365365
# param1: module directory
366366
# param2: parameters to pass to Makefile.PL
367367
installPerlModule() {
368-
cd $1
369368
printHeader "PM $1 with $2"
370369
if [ "$WRE_CLEAN" == 1 ]; then
371370
$WRE_MAKE distclean
372371
$WRE_MAKE clean
373372
fi
374373
perl Makefile.PL $2 CCFLAGS="$CFLAGS"; checkError $? "$1 Makefile.PL"
375374
$WRE_MAKE; checkError $? "$1 make"
376-
#$WRE_MAKE test; checkError $? "$1 make test"
377375
$WRE_MAKE install; checkError $? "$1 make install"
378-
cd ..
376+
cd /data/wrebuild
379377
}
380378

381379
installPerlModules () {
382380
printHeader "Perl Modules"
383-
#cd source/perlmodules
384381
export PERL_MM_USE_DEFAULT=1 # makes it so perl modules don't ask questions
385382
cpan App::cpanminus
386383
cpanm Task::WebGUI
387384
if [ "$WRE_OSTYPE" != "Leopard" ] && [ "$WRE_OSTYPE" != "Snow Leopard" ]; then
388385
cpanm http://backpan.perl.org/authors/id/D/DU/DURIST/Proc-ProcessTable-0.44.tar.gz
389386
fi
387+
mkdir -p source/perlmodules
388+
chdir source/perlmodules
389+
cpanm --look Text::Aspell
390390
installPerlModule "Text-Aspell-0.09" "LIBS='-laspell'"
391391
# detecting shared memory properly on 2.6 kernels
392392
if [ "$WRE_OSNAME" == "Linux" ]; then

0 commit comments

Comments
 (0)
Please sign in to comment.