On Wed, Dec 29, 2004 at 10:49:57PM -0600, Craig A. Berry wrote:
> >> 1.) There are several instances of the string:
> >>
> >> bin/instmodsh
> >>
> >> in various targets, though EXE_FILES does now show instmodsh in native
> >> syntax.
> >
> >I'll investigate this.

The only instances I see of bin/instmodsh is in the doc_*_install targets.
Turns out its necessary.  EXE_FILES is already put into perllocal on the
previous line.

*gleefully deleting more code*

Try out the attached patch.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern/
Plus I remember being impressed with Ada because you could write an
infinite loop without a faked up condition.  The idea being that in Ada
the typical infinite loop would be normally be terminated by detonation.
        -- Larry Wall in <[EMAIL PROTECTED]>
=== lib/ExtUtils/MM_VMS.pm
==================================================================
--- lib/ExtUtils/MM_VMS.pm  (revision 4153)
+++ lib/ExtUtils/MM_VMS.pm  (local)
@@ -1083,20 +1083,8 @@
 
 sub install {
     my($self, %attribs) = @_;
-    my(@m,@exe_files);
+    my(@m);
 
-    if ($self->{EXE_FILES}) {
-       my($line,$file) = ('','');
-       foreach $file (@{$self->{EXE_FILES}}) {
-           $line .= "$file ";
-           if (length($line) > 128) {
-               push(@exe_files,qq[\t\$(NOECHO) \$(ECHO) "$line" >>.MM_tmp\n]);
-               $line = '';
-           }
-       }
-       push(@exe_files,qq[\t\$(NOECHO) \$(ECHO) "$line" >>.MM_tmp\n]) if $line;
-    }
-
     push @m, q[
 install :: all pure_install doc_install
        $(NOECHO) $(NOOP)
@@ -1165,8 +1153,7 @@
        $(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
        $(NOECHO) $(ECHO_N) "installed into|$(INSTALLPRIVLIB)|" >.MM_tmp
        $(NOECHO) $(ECHO_N) 
"LINKTYPE|$(LINKTYPE)|VERSION|$(VERSION)|EXE_FILES|$(EXE_FILES) " >>.MM_tmp
-],@exe_files,
-q[     $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
+       $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
        $(NOECHO) $(RM_F) .MM_tmp
 
 # And again
@@ -1175,8 +1162,7 @@
        $(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
        $(NOECHO) $(ECHO_N) "installed into|$(INSTALLSITELIB)|" >.MM_tmp
        $(NOECHO) $(ECHO_N) 
"LINKTYPE|$(LINKTYPE)|VERSION|$(VERSION)|EXE_FILES|$(EXE_FILES) " >>.MM_tmp
-],@exe_files,
-q[     $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
+       $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
        $(NOECHO) $(RM_F) .MM_tmp
 
 doc_vendor_install ::
@@ -1184,8 +1170,7 @@
        $(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
        $(NOECHO) $(ECHO_N) "installed into|$(INSTALLVENDORLIB)|" >.MM_tmp
        $(NOECHO) $(ECHO_N) 
"LINKTYPE|$(LINKTYPE)|VERSION|$(VERSION)|EXE_FILES|$(EXE_FILES) " >>.MM_tmp
-],@exe_files,
-q[     $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
+       $(NOECHO) $(DOC_INSTALL) "Module" "$(NAME)" <.MM_tmp 
>>].$self->catfile($self->{DESTINSTALLARCHLIB},'perllocal.pod').q[
        $(NOECHO) $(RM_F) .MM_tmp
 
 ];

Reply via email to