Alien-proj

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
  my $removed = $count - @PATH;
  if ($removed) {
    $build->log ("$removed additional .../usr/bin dirs were removed from the path for compilation");
  }
 
  $orig->($build, @args);
}
 
 
sub update_pkg_conf_path {
  return;
    return if !$on_windows;
    #  should be a before or around hook
    use Env qw /@PKG_CONFIG_PATH/;
    say 'Modifying drive paths in PKG_CONFIG_PATH';
    say $ENV{PKG_CONFIG_PATH};
    #  msys-ificate drive paths
    @PKG_CONFIG_PATH = map {my $r=$_; $r=~s{^([a-z]):}{/$1}i; $r} @PKG_CONFIG_PATH;
    #  make sure we get the dynamic libcurl
    #  (although the proj configure script does not currently use it)

alienfile  view on Meta::CPAN

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
    return if $on_automated_rig;
    return if !$on_windows;
 
    say "CONTINUE?";
    my $response = <>;
    while (not $response =~ /yes/) {
        $response = <>;
    }
}
 
sub update_cmake_lists_file {
    my ($orig, $build, @args) = @_;
 
    #  only needed on windows for v9.0.0 or earlier
    return $orig->($build, @args)
      if $on_windows and versioncmp (get_proj_version(), '9.0.0') < 0;
 
    $build->log ('updating CMakeLists.txt to properly handle proj.pc');
     
    #my $h = $build->install_prop;
    #use Data::Printer;



( run in 0.245 second using v1.01-cache-2.11-cpan-2b0bae70ee8 )