Ignore:
Timestamp:
2013-05-24T15:33:26+12:00 (11 years ago)
Author:
jmt12
Message:

Moved opt_modulebuild_* functions into a library, and altered the cascade file for Module::Build to use them instead as otherwise I can't seem to get the extension's perl path on the INC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/MODULEBUILD.sh

    r27445 r27450  
    77
    88source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
     9source ../cascade-make/lib/cascade-lib-modulebuild.bash GEXTPARALLELBUILDING $*
    910
    1011prefix=$GEXTPARALLELBUILDING_INSTALLED
     
    1213
    1314opt_run_untar $force_untar $auto_untar $package $version
    14 opt_run_perl_configure $force_config $auto_config $package $version $prefix INSTALLSITEARCH="$prefix/lib/perl/$perlversion" INSTALLSITELIB="$prefix/lib/perl/$perlversion"
     15opt_modulebuild_configure $force_config $auto_config $package $version $prefix INSTALLSITEARCH="$prefix/lib/perl/$perlversion" INSTALLSITELIB="$prefix/lib/perl/$perlversion"
    1516
    1617# We only compile if necessary, as compilation is quite slow and we don't
     
    1819if [[ ! -e "$prefix/lib/perl/$perlversion/Module/Build.pm" ]]
    1920then
    20   opt_run_make $compile   $package $version
     21  opt_modulebuild_make $compile   $package $version
    2122  echo "opt_run_make $install $package $version \"install\""
    22   opt_run_make $install   $package $version "install"
     23  opt_modulebuild_make $install   $package $version "install"
    2324else
    2425  echo "Module::Build Perl module already compiled => no need to recompile"
    2526fi
    2627
    27 opt_run_make $clean     $package $version "clean"
    28 opt_run_make $distclean $package $version "distclean"
     28opt_modulebuild_make $clean     $package $version "clean"
     29opt_modulebuild_make $distclean $package $version "distclean"
    2930
    3031opt_run_tarclean $tarclean $package $version
Note: See TracChangeset for help on using the changeset viewer.