summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/Manifest.pm
diff options
context:
space:
mode:
authorAndy Dougherty <doughera.lafayette.edu>1995-12-05 22:52:22 +0000
committerAndy Dougherty <doughera.lafayette.edu>1995-12-05 22:52:22 +0000
commit4e68a2086f0b5bfb6d7944f2efbad03461f54f71 (patch)
treef734bb56b725ee900b1cf74288cd2c25ab17b29b /lib/ExtUtils/Manifest.pm
parent25f94b330371810ad4761e17a4e200e6752044c5 (diff)
downloadperl-4e68a2086f0b5bfb6d7944f2efbad03461f54f71.tar.gz
This is patch.2b1e to perl5.002beta1. This is simply
an upgrade from MakeMaker-5.10 to MakeMaker-5.11. Nothing else is included. cd to your perl source directory and type patch -p1 -N < patch.2b1e Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042 Here are Andreas' notes: MakeMaker 5.11 is only half a step forward. It fixes the most urgent problems and includes a few new subroutines from Ilya's pen without actually using them. It does not yet install into sitelib. It does not write a .packlist file anymore (this is a transitory non-solution, I will try to replace the .packlist computation by a safer replacement). But it does fix the known bugs: extralibs was wrong, link() was called on systems without link(), manpages for man1dir were installed completely wrong, if xsubpp was too old we reached a runtime error, libg++ could not be handled because of a missing \Q, xsubpp was called with -noprototypes per default. A few installation directories didn't keep up with the defaults from 5.002 when used with PREFIX. I apologize for unresolved issues, especially with regard to Ilya's changes, but I prefer to have one thing done before I try the next changes. Get it from CPAN/authors/id/ANDK/MakeMaker-5.11.tar.gz The testing I have done is limited, because perl5.002b1d has problems with some newXS calls. So extensions where I had to use xubpp could not be compiled here. Wherever I had already run xsubpp, everything seemed ok. I append the Changes file below. andreas Installation of files to INST_MAN1DIR was missing a $self->catdir and a dot between the filename and the MAN1EXT. There was a rare problem with the .packlist file: The .packlist entries are appended to the .packlist file in INST_ARCHAUTOLIB. The file is rewritten later to contain only unique entries. For the rewriting of the file I used perl -i.bak. That's not ok for AFS and dies if the .packlist file doesn't exist for any other reason. THIS PROBLEM IS NOT YET RESOLVED. I have dropped support for .packlist until I have a nice fix for this. Don Jackson saw this on his sun4-sunos box. >Argument "Running '/bin/perl /usr/local/lib/perl5/ExtUtils/x..." isn't numeric >for right bitshift at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 1708. >0 at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 1708. >Argument "Running '/bin/perl /usr/local/lib/perl5/ExtUtils/x..." isn't numeric >for right bitshift at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 1734. >0 at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 1734. Was a precedence bug, solved. Ilya sent a big patch for OS2. It was a bit complicated to fold it in, so I included only the easy changes, and would like to reconsider the thing, when there is a bit more time and less pressure. All the new methods are included, but not yet used, so the next patch will be easier to comprehend. manifypods had no dependencies. Added them, although the correct solution would be to have dependencies on the produced manpages. The latter is not possible, because they contain colons. Two occurrences of \Q in did not have a coresponding \E. Fixed. Liblist choked on -lg++, because the \Q was missing completely. Fixed. Manifest.pm tried a link() even on systems without link() available. Fix supplied by Ilya applied. Introduced XS_VERSION to support a better matching control between the VERSION of the *.pm and the *.xs part of the package. Dropped the default -noprototype argument to xsubpp.
Diffstat (limited to 'lib/ExtUtils/Manifest.pm')
-rw-r--r--lib/ExtUtils/Manifest.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ExtUtils/Manifest.pm b/lib/ExtUtils/Manifest.pm
index d2da929d84..1c54c77ee9 100644
--- a/lib/ExtUtils/Manifest.pm
+++ b/lib/ExtUtils/Manifest.pm
@@ -136,10 +136,15 @@ $Debug = 0;
$Verbose = 1;
$Is_VMS = $Config{'osname'} eq 'VMS';
-$VERSION = $VERSION = substr(q$Revision: 1.16 $,10,4);
+$VERSION = $VERSION = substr(q$Revision: 1.17 $,10,4);
$Quiet = 0;
+# Really cool fix from Ilya :)
+unless (defined $Config{d_link}) {
+ *ln = \&cp;
+}
+
sub mkmanifest {
my $manimiss = 0;
my $read = maniread() or $manimiss++;