patch-bindings_Perl_Makefile_PL_in 871 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-bindings_Perl_Makefile_PL_in,v 1.5 2015/09/21 08:46:50 ajacoutot Exp $
  2. PERL_POLLUTE removal :-
  3. Allow pilot-link's perl bindings to build with newer Perl.
  4. From Debian ticket 628510
  5. --- bindings/Perl/Makefile.PL.in.orig Sat Mar 17 19:03:45 2007
  6. +++ bindings/Perl/Makefile.PL.in Mon Mar 18 22:07:45 2013
  7. @@ -39,10 +39,10 @@ WriteMakefile(
  8. 'VERSION' => '@PILOT_LINK_VERS@.@PILOT_LINK_MAJOR@.@PILOT_LINK_MINOR@@PILOT_LINK_PATCH@',
  9. 'XSPROTOARG' => '-noprototypes',
  10. 'INC' => "-I$plincdir",
  11. - 'DEFINE' => '-DPERL_POLLUTE',
  12. 'PREFIX' => "$prefix",
  13. - 'INSTALLDIRS'=> 'vendor',
  14. + 'INSTALLDIRS'=> 'site',
  15. 'dynamic_lib'=> {'OTHERLDFLAGS' => $lib},
  16. 'depend' => {'Pilot.c' => 'const-c.inc const-xs.inc'},
  17. 'clean' => {'FILES' => 'const-c.inc const-xs.inc'},
  18. + 'OPTIMIZE' => "!!CFLAGS!!",
  19. );