develooper Front page | perl.perl5.porters | Postings from March 2009

Re: Patch for Time::HiRes Makefile.PL

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
March 26, 2009 13:12
Subject:
Re: Patch for Time::HiRes Makefile.PL
Message ID:
49CBE19C.5090904@pobox.com
Nicholas Clark wrote:
> The Makefile.PL for Time::HiRes in blead has diverged a bit from that on CPAN.
> 
> The appended patch brings it back into sync, and removes MAN3PODS, which isn't
> needed any more. Would it be possible to apply this?

Looks like it adds MAN3PODS.


> --- ext/Time-HiRes/Makefile.PL	2009-03-26 11:48:54.000000000 +0000
> +++ ../Time-HiRes-1.9719/Makefile.PL	2008-12-25 22:29:15.000000000 +0000
> @@ -100,7 +100,7 @@
>  
>  	if ($ENV{PERL_CORE}) {
>  	    my $updir = File::Spec->updir;
> -	    $COREincdir = File::Spec->catdir(($updir) x 2);
> +	    $COREincdir = File::Spec->catdir(($updir) x 3);
>  	} else {
>  	    $COREincdir = File::Spec->catdir($Config{'archlibexp'}, 'CORE');
>  	}
> @@ -776,6 +776,10 @@
>          realclean => { FILES=> 'const-c.inc const-xs.inc' },
>      );
>  
> +    if ($ENV{PERL_CORE}) {
> +	push @makefileopts, MAN3PODS => {};
> +    }
> +
>      WriteMakefile(@makefileopts);
>  }


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About