Mailing List Archive

Updated patch for 5.001n MakeMaker
This patch fixes the following problems with MakeMaker in vanilla 5.001n:

* The "@ -cd" problem which causes certain platforms to bomb out.

* The strangeness in Makefiles generated when you go for dynamic
loading. An un-escaped $.

neilb

*** lib/ExtUtils/MakeMaker.pm.orig Wed Nov 1 19:18:15 1995
--- lib/ExtUtils/MakeMaker.pm Wed Nov 1 19:18:38 1995
***************
*** 1930,1936 ****
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE)
');
if ($armaybe ne ':'){
! $ldfrom = "tmp.$(LIB_EXT)";
push(@m,' $(ARMAYBE) cr '.$ldfrom.' $(OBJECT)'."\n");
push(@m,' $(RANLIB) '."$ldfrom\n");
}
--- 1930,1936 ----
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE)
');
if ($armaybe ne ':'){
! $ldfrom = "tmp.\$(LIB_EXT)";
push(@m,' $(ARMAYBE) cr '.$ldfrom.' $(OBJECT)'."\n");
push(@m,' $(RANLIB) '."$ldfrom\n");
}
***************
*** 2177,2183 ****
qq{

subdirs ::
! \@ -cd $subdir && \$(MAKE) all \$(PASTHRU)

};
}
--- 2177,2183 ----
qq{

subdirs ::
! \@-cd $subdir && \$(MAKE) all \$(PASTHRU)

};
}
Updated patch for 5.001n MakeMaker [ In reply to ]
Neil Bowers writes:
> This patch fixes the following problems with MakeMaker in vanilla 5.001n:
>
> * The "@ -cd" problem which causes certain platforms to bomb out.
>
> * The strangeness in Makefiles generated when you go for dynamic
> loading. An un-escaped $.
> ...
> ! $ldfrom = "tmp.$(LIB_EXT)";
> ...
> ! $ldfrom = "tmp.\$(LIB_EXT)";

Thanks, both these fixes will help me with dUNIX 3.2C. Lesson to be
learned: do not use "" when you really mean and only need ''.

++jhi;