Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-Metaphone CPAN distribution.

Report information
The Basics
Id: 36208
Status: resolved
Priority: 0/
Queue: Text-Metaphone

People
Owner: Nobody in particular
Requestors: cpan [...] pjedwards.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.00
Fixed in: (no value)



Subject: PATCH for VMS (obj_ext, and list C files)
Hello and thanks for Text::Metaphone 2.00. The following changes were required to Makefile.PL to get the module to build (and pass it's tests) on VMS. Replacing ".o" with the object file extension from Config, and inserting a missing ',' so the C files are listed. Cheers, Peter (Stig) Edwards @@ -27,22 +27,25 @@ FIX_WARN } +use Config; +my $obj_ext=$Config{'obj_ext'}; + WriteMakefile( NAME => 'Text::Metaphone', VERSION_FROM => 'Metaphone.pm', PREREQ_PM => { 'Test::More' => 0.47 }, - C => ['metaphone_c.c my_memory.c'], - OBJECT => 'metaphone_c.o my_memory.o Metaphone.o', + C => ['metaphone_c.c','my_memory.c'], + OBJECT => "metaphone_c$obj_ext my_memory$obj_ext Metaphone$obj_ext", ); sub MY::postamble { -' -metaphone_c.o: mytypes.h myconsts.h my_memory.o metachar.h metaphone.h metaphone_c.c +" +metaphone_c$obj_ext: mytypes.h myconsts.h my_memory$obj_ext metachar.h metaphone.h metaphone_c.c -my_memory.o: mytypes.h myconsts.h my_memory.c my_memory.h -' +my_memory$obj_ext: mytypes.h myconsts.h my_memory.c my_memory.h +" }
I've patched this into version 2.01. Sorry for the delay. Please let me know how it works.
On Fri Oct 10 09:12:22 2008, MSCHWERN wrote: Show quoted text
> I've patched this into version 2.01. Sorry for the delay. Please let > me know how it works.
Version 2.01 of Text::Metaphone builds and tests OK out of the package on VMS, many thanks.
Thanks