develooper Front page | perl.perl5.changes | Postings from April 2012

[perl.git] branch smoke-me/make_ext, updated. v5.15.9-264-g408153a

From:
Nicholas Clark
Date:
April 27, 2012 03:09
Subject:
[perl.git] branch smoke-me/make_ext, updated. v5.15.9-264-g408153a
Message ID:
E1SNi7X-00022Q-NK@camel.ams6.corp.booking.com
In perl.git, the branch smoke-me/make_ext has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/408153a6ff2442dda175bf94e03040f1f15ad9f9?hp=642ef7c1b91288be96b948fea0661bf371c74551>

- Log -----------------------------------------------------------------
commit 408153a6ff2442dda175bf94e03040f1f15ad9f9
Author: Nicholas Clark <nick@ccl4.org>
Date:   Fri Apr 27 12:05:38 2012 +0200

    make_ext.pl need not manipulate @INC, as buildcustomize.pl already does it.
    
    Remove from make_ext.pl code that predates the introduction of
    buildcustomize.pl, as that now sets up @INC correctly before make_ext.pl even
    runs. During the build process make_ext.pl is only run by miniperl.
-----------------------------------------------------------------------

Summary of changes:
 make_ext.pl |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/make_ext.pl b/make_ext.pl
index d6561b1..5352ed9 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -2,14 +2,6 @@
 use strict;
 use warnings;
 use Config;
-BEGIN {
-    if ($^O eq 'MSWin32') {
-	unshift @INC, '../dist/Cwd';
-	require FindExt;
-    } else {
-	unshift @INC, 'dist/Cwd';
-    }
-}
 use Cwd;
 
 my $is_Win32 = $^O eq 'MSWin32';

--
Perl5 Master Repository



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