Skip Menu |

This queue is for tickets about the Net-IP CPAN distribution.

Report information
The Basics
Id: 65661
Status: resolved
Priority: 0/
Queue: Net-IP

People
Owner: cpan [...] bat.ru
Requestors: zinser [...] zinser.no-ip.info
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.25
Fixed in: (no value)



Subject: Build fails on OpenVMS
Hello, I am trying to build Net::IP in the following environment: Net::IP 1.25 Perl 5.12.2 OpenVMS 8.3-1H1 The build will fail since Net-IP.spec.PL does not follow VMS filenaming conventions. The attached one line patch does fix this. It by design does only affect VMS systems, as has been verified by testing against a Linux (openSUSE 11.3) installation. I'd be happy if you would consider this for inclusion in the next version. Greetings, Martin
Subject: Makefile.PL.patch
*** Makefile.PL.orig 2011-02-11 16:24:19.107547464 -0600 --- Makefile.PL 2011-02-11 16:46:20.860623401 -0600 *************** *** 27,37 **** $PARAM{'clean'} = {FILES => "Net-IP.spec"}; WriteMakefile( 'NAME' => 'Net::IP', 'VERSION_FROM' => 'IP.pm', 'PREREQ_PM' => {}, 'EXE_FILES' => [qw(ipcount iptab)], ! 'PL_FILES' => { 'Net-IP.spec.PL' => 'Net-IP.spec' }, %PARAM ); --- 27,38 ---- $PARAM{'clean'} = {FILES => "Net-IP.spec"}; + $pl_files = ($^O ne 'VMS') ? 'Net-IP.spec.PL' : 'Net-IP_spec.PL'; WriteMakefile( 'NAME' => 'Net::IP', 'VERSION_FROM' => 'IP.pm', 'PREREQ_PM' => {}, 'EXE_FILES' => [qw(ipcount iptab)], ! 'PL_FILES' => { $pl_files => 'Net-IP.spec' }, %PARAM );
File renamed into Net-IP_spec.in. Hope that fixes the situation.