From: Artur Bergman Date: Wed, 1 May 2002 17:13:57 +0000 (+0000) Subject: Fix makefile to put queue.pm correctly, update test script. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0db258a5cca120f45caf497742ccf9a2b3233c7f;p=p5sagit%2Fp5-mst-13.2.git Fix makefile to put queue.pm correctly, update test script. p4raw-id: //depot/perl@16310 --- diff --git a/ext/threads/shared/Makefile.PL b/ext/threads/shared/Makefile.PL index 046e6e4..0179e33 100755 --- a/ext/threads/shared/Makefile.PL +++ b/ext/threads/shared/Makefile.PL @@ -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 diff --git a/ext/threads/shared/t/queue.t b/ext/threads/shared/t/queue.t index fc62da1..f09a5b9 100644 --- a/ext/threads/shared/t/queue.t +++ b/ext/threads/shared/t/queue.t @@ -12,7 +12,7 @@ BEGIN { use threads; -use threads::queue; +use threads::shared::queue; $q = new threads::shared::queue; $|++;