openbsd-ports/comms/pilot-link/patches/patch-bindings_Perl_Makefile_PL_in
sthen b82a1df527 Allow pilot-link's perl bindings to build with newer Perl (also OK with
5.12.x in -current).  From Debian ticket 628510.

Sync PLIST while there.
2013-03-18 22:13:42 +00:00

22 lines
867 B
Plaintext

$OpenBSD: patch-bindings_Perl_Makefile_PL_in,v 1.3 2013/03/18 22:13:42 sthen Exp $
PERL_POLLUTE removal :-
Allow pilot-link's perl bindings to build with newer Perl.
From Debian ticket 628510
--- bindings/Perl/Makefile.PL.in.orig Sat Mar 17 19:03:45 2007
+++ bindings/Perl/Makefile.PL.in Mon Mar 18 22:07:45 2013
@@ -39,10 +39,10 @@ WriteMakefile(
'VERSION' => '@PILOT_LINK_VERS@.@PILOT_LINK_MAJOR@.@PILOT_LINK_MINOR@@PILOT_LINK_PATCH@',
'XSPROTOARG' => '-noprototypes',
'INC' => "-I$plincdir",
- 'DEFINE' => '-DPERL_POLLUTE',
'PREFIX' => "$prefix",
- 'INSTALLDIRS'=> 'vendor',
+ 'INSTALLDIRS'=> 'site',
'dynamic_lib'=> {'OTHERLDFLAGS' => $lib},
'depend' => {'Pilot.c' => 'const-c.inc const-xs.inc'},
'clean' => {'FILES' => 'const-c.inc const-xs.inc'},
+ 'OPTIMIZE' => "!!CFLAGS!!",
);