Skip Menu |

This queue is for tickets about the ppt CPAN distribution.

Report information
The Basics
Id: 22956
Status: resolved
Priority: 0/
Queue: ppt

People
Owner: Nobody in particular
Requestors: mpapet [...] yahoo.com
Cc:
AdminCc:

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



Subject: Makefile in strawberry-perl
Hi, The makefile.pl doesn't work right on the strawberry-perl distro. I hacked it up to work for me like so: my $bin = 'bin'; opendir BIN, $bin or die $!; my @exe_files = map "$bin/$_", grep { $_ !~ /^\./ } readdir BIN; closedir BIN; use ExtUtils::MakeMaker; if ($^O eq 'MSWin32'){ WriteMakefile( VERSION_FROM => 'README', PREFIX => 'c:/strawberry-perl/perl/', NAME => 'ppt', EXE_FILES => \@exe_files, ) } else{ WriteMakefile( VERSION_FROM => 'README', PREFIX => '/usr/local/ppt', NAME => 'ppt', EXE_FILES => \@exe_files, ) } Looking good so far, keep up the good work!
From: alexchorny [...] gmail.com
On Nov 10 15:40:41 2006, mpapet@yahoo.com wrote: Show quoted text
> The makefile.pl doesn't work right on the strawberry-perl distro.
This patch does not take into consideration Vanilla Perl or ActiveState Perl or any other Perl compiled into different directory. -- Alexandr Ciornii, http://chorny.net