patch-config_config_perl_pl 597 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-config_config_perl_pl,v 1.2 2014/02/06 17:32:27 edd Exp $
  2. Correctly detect install directory
  3. --- config/config_perl.pl.orig2 Sat Jan 11 22:59:44 2014
  4. +++ config/config_perl.pl Mon Feb 3 10:19:35 2014
  5. @@ -11,14 +11,5 @@ if ($ARGV[0] eq "PERL_INCLUDES") {
  6. print "-I$archlib/CORE";
  7. }
  8. if ($ARGV[0] eq "PERL_INSTALL_DIR") {
  9. -
  10. - my $d;
  11. -
  12. - foreach $d (qw(installvendorarch vendorarch installsitearch sitearch)) {
  13. - if (exists($Config{$d}) and defined($Config{$d}) and
  14. - ($Config{$d} ne '') ) {
  15. - print "$Config{$d}";
  16. - last;
  17. - }
  18. - }
  19. + print "$Config{installsitearch}";
  20. }