This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix makefile to put queue.pm correctly, update test script.
authorArtur Bergman <sky@nanisky.com>
Wed, 1 May 2002 17:13:57 +0000 (17:13 +0000)
committerArtur Bergman <sky@nanisky.com>
Wed, 1 May 2002 17:13:57 +0000 (17:13 +0000)
p4raw-id: //depot/perl@16310

ext/threads/shared/Makefile.PL
ext/threads/shared/t/queue.t

index 046e6e4..0179e33 100755 (executable)
@@ -5,6 +5,11 @@ use ExtUtils::MakeMaker;
 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
index fc62da1..f09a5b9 100644 (file)
@@ -12,7 +12,7 @@ BEGIN {
 
 
 use threads;
-use threads::queue;
+use threads::shared::queue;
 
 $q = new threads::shared::queue;
 $|++;