develooper Front page | perl.perl5.porters | Postings from December 2001

[PATCH @13746] uninstalled build of modules broken

Thread Next
From:
Ilya Zakharevich
Date:
December 21, 2001 12:49
Subject:
[PATCH @13746] uninstalled build of modules broken
Message ID:
20011221154909.A6760@math.ohio-state.edu
This enables building modules with uninstalled Perl again.

Enjoy,
Ilya

--- ./lib/ExtUtils/MM_Unix.pm-pre	Mon Dec 17 10:37:18 2001
+++ ./lib/ExtUtils/MM_Unix.pm	Thu Dec 20 20:40:46 2001
@@ -2066,6 +2066,7 @@ usually solves this kind of problem.
 
     # How do we run perl?
     $self->{PERLRUN}      = $self->{PERL};
+    $self->{PERLRUN} .= ' -I$(PERL_LIB)' if $self->{UNINSTALLED_PERL};
 
     # How do we run perl when installing libraries?
     $self->{PERLRUNINST} .= $self->{PERL}. ' -I$(INST_ARCHLIB) -I$(INST_LIB)';
@@ -3504,12 +3505,12 @@ test :: \$(TEST_TYPE)
     push(@m, "\n");
 
     push(@m, "test_dynamic :: pure_all\n");
-    push(@m, $self->test_via_harness('$(FULLPERL)', '$(TEST_FILES)')) if $tests;
-    push(@m, $self->test_via_script('$(FULLPERL)', '$(TEST_FILE)')) if -f "test.pl";
+    push(@m, $self->test_via_harness('$(PERLRUN)', '$(TEST_FILES)')) if $tests;
+    push(@m, $self->test_via_script('$(PERLRUN)', '$(TEST_FILE)')) if -f "test.pl";
     push(@m, "\n");
 
     push(@m, "testdb_dynamic :: pure_all\n");
-    push(@m, $self->test_via_script('$(FULLPERL) $(TESTDB_SW)', '$(TEST_FILE)'));
+    push(@m, $self->test_via_script('$(PERLRUN) $(TESTDB_SW)', '$(TEST_FILE)'));
     push(@m, "\n");
 
     # Occasionally we may face this degenerate target:

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