[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-commits
Subject:    [Bricolage-Commits] Fix for Bug # 210.
From:       David Wheeler <wheeler () users ! sourceforge ! net>
Date:       2002-08-29 2:54:03
[Download RAW message or body]

Log Message:
-----------
Fix for Bug # 210. Man pages will now be installed in the right places under
Perl 5.8.0. I also added some comments to Makefile.PL, because It's not
entirely clear why it's doing what it's doing. I also added 1.4.0 to
versions.txt.

Modified Files:
--------------
    /cvsroot/bricolage/bricolage/lib:
        Makefile.PL
    /cvsroot/bricolage/bricolage/inst:
        versions.txt
    /cvsroot/bricolage/bricolage/lib/Bric:
        Changes.pod
["wheeler-20028292543-diff.txt" (wheeler-20028292543-diff.txt)]

Index: Makefile.PL
===================================================================
RCS file: /cvsroot/bricolage/bricolage/lib/Makefile.PL,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- Makefile.PL	23 Jul 2002 22:24:23 -0000	1.9
+++ Makefile.PL	29 Aug 2002 02:54:01 -0000	1.10
@@ -7,14 +7,20 @@
 our $CONFIG = {};
 eval { require "../config.db" }; 
 
-# find all .pm and .pod files below this directory
+# find all .pm and .pod files below this directory. I assume that, once we get
+# rid of all the .pl files, this will no longer be necessary? Because
+# MakeMaker will find all the .pm files on its own. Is this correct?
 my %PM;
-File::Find::find({no_chdir => 1,
+find({no_chdir => 1,
 		  wanted   => sub { 
 		    return unless /\.pm$/ or /\.pod$/;
 		    return if m!/blib/!;
+          # This strips off the './' nonsense from the beginning of
+          # each file name. Required for MakeMaker changes in Perl 5.8.0.
+          $_ = File::Spec->canonpath($_);
 		    $PM{$_} = File::Spec->catfile('${INST_LIB}', $_) 
 		      unless /\.pod$/;
+          # Um, so, are we ignoring .pod files after all?
 		  }},
 		 File::Spec->curdir);
 
Index: versions.txt
===================================================================
RCS file: /cvsroot/bricolage/bricolage/inst/versions.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- versions.txt	24 Jun 2002 18:13:31 -0000	1.3
+++ versions.txt	29 Aug 2002 02:54:01 -0000	1.4
@@ -10,3 +10,4 @@
 1.2.2
 1.3.2
 1.3.3
+1.4.0
\ No newline at end of file
Index: Changes.pod
===================================================================
RCS file: /cvsroot/bricolage/bricolage/lib/Bric/Changes.pod,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -w -d -r1.147 -r1.148
--- Changes.pod	28 Aug 2002 22:23:01 -0000	1.147
+++ Changes.pod	29 Aug 2002 02:54:01 -0000	1.148
@@ -56,6 +56,12 @@
 Assets can once again be found via the "Find" pages and recalled into a
 worfklow without error. [David]
 
+=item *
+
+Module man pages are now properly installed under Perl 5.8.0. Thanks to
+Michael Schwern for helping to diagnose the problem and come up with a
+solution. [David]
+
 =back
 
 =head1 VERSION 1.3.3
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Bricolage-Commits mailing list
Bricolage-Commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-commits

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic