You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.4 KiB

  1. --- a/Makefile.PL 2009-09-22 16:22:09.000000000 -0600
  2. +++ b/Makefile.PL 2018-01-01 18:54:13.023366252 -0700
  3. @@ -1,7 +1,6 @@
  4. # Do yourself a favour, and don't edit this file, see README for build instructions
  5. use ExtUtils::MakeMaker;
  6. -use Devel::CheckLib;
  7. my @inc_search = qw(/opt/local/include /usr/local/include);
  8. my @lib_search = qw(/opt/local/lib64 /usr/local/lib64 /opt/local/lib /usr/local/lib);
  9. @@ -12,15 +12,7 @@ unless (exists $args{INC} or exists $arg
  10. my @incpath = grep {-d} @inc_search;
  11. my @libpath = grep {-d} @lib_search;
  12. - my $have_sasl2 = eval {
  13. - assert_lib(
  14. - lib => "sasl2",
  15. - header => "sasl/sasl.h",
  16. - libpath => \@libpath,
  17. - incpath => \@incpath
  18. - );
  19. - 1;
  20. - };
  21. + my $have_sasl2 = 1;
  22. if ($have_sasl2) {
  23. $mmopt{DEFINE} = "-DSASL2" unless $use_sasl2;
  24. @@ -28,13 +27,6 @@ unless (exists $args{INC} or exists $arg
  25. }
  26. else {
  27. exit(0) if $use_sasl2;
  28. - @incpath = grep {-d} map { ("$_/sasl", $_) } @inc_search;
  29. - check_lib_or_exit(
  30. - lib => "sasl",
  31. - header => "sasl.h",
  32. - libpath => \@libpath,
  33. - incpath => \@incpath
  34. - );
  35. }
  36. $mmopt{INC} = join " ", map {"-I$_"} @incpath;
  37. @@ -58,7 +50,6 @@ WriteMakefile(
  38. repository => 'http://github.com/gbarr/perl-authen-sasl-xs',
  39. },
  40. build_requires => {
  41. - 'Devel::CheckLib' => 0,
  42. },
  43. }
  44. )