Change 16310 by sky@sky-lab on 2002/05/01 17:13:57
Fix makefile to put queue.pm correctly, update test script.
Affected files ...
.... //depot/perl/ext/threads/shared/Makefile.PL#4 edit
.... //depot/perl/ext/threads/shared/t/queue.t#6 edit
Differences ...
==== //depot/perl/ext/threads/shared/Makefile.PL#4 (xtext) ====
Index: perl/ext/threads/shared/Makefile.PL
--- perl/ext/threads/shared/Makefile.PL.~1~ Wed May 1 11:30:05 2002
+++ perl/ext/threads/shared/Makefile.PL Wed May 1 11:30:05 2002
@@ -5,6 +5,11 @@
WriteMakefile(
'NAME' => 'threads::shared',
'VERSION_FROM' => 'shared.pm', # finds $VERSION
+ 'PM' => {
+ 'shared.pm' => '$(INST_LIBDIR)/shared.pm',
+ 'queue.pm' => '$(INST_LIBDIR)/shared/queue.pm',
+
+ },
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module
==== //depot/perl/ext/threads/shared/t/queue.t#6 (text) ====
Index: perl/ext/threads/shared/t/queue.t
--- perl/ext/threads/shared/t/queue.t.~1~ Wed May 1 11:30:05 2002
+++ perl/ext/threads/shared/t/queue.t Wed May 1 11:30:05 2002
@@ -12,7 +12,7 @@
use threads;
-use threads::queue;
+use threads::shared::queue;
$q = new threads::shared::queue;
$|++;
End of Patch.