summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2002-05-01 17:13:57 +0000
committerArtur Bergman <sky@nanisky.com>2002-05-01 17:13:57 +0000
commit0db258a5cca120f45caf497742ccf9a2b3233c7f (patch)
tree9b1066dc77c4b446b3d4d2097a49d198e187da89 /ext/threads
parent709a84d396fb61095efc6271945c1c69bdb4ecfd (diff)
downloadperl-0db258a5cca120f45caf497742ccf9a2b3233c7f.tar.gz
Fix makefile to put queue.pm correctly, update test script.
p4raw-id: //depot/perl@16310
Diffstat (limited to 'ext/threads')
-rwxr-xr-xext/threads/shared/Makefile.PL5
-rw-r--r--ext/threads/shared/t/queue.t2
2 files changed, 6 insertions, 1 deletions
diff --git a/ext/threads/shared/Makefile.PL b/ext/threads/shared/Makefile.PL
index 046e6e4498..0179e33c22 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 fc62da1d8b..f09a5b9c3b 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;
$|++;