Permalink
Browse files

make Makefile.PL work better on MacOS

  • Loading branch information...
rcaputo committed Dec 4, 2001
1 parent 3f3472a commit c40b38ca80fe5b4c57d64cc5e6902e3c440d2f1a
Showing with 9 additions and 3 deletions.
  1. +9 −3 Makefile.PL
View
@@ -15,8 +15,14 @@ sub MY::test {
WriteMakefile
( NAME => 'POE',
- AUTHOR => 'Rocco Caputo <troc+poe@netrus.net>',
- ABSTRACT => 'Event driven threads and I/O abstractions.',
+
+ ( ($^O eq 'MacOS')
+ ? ()
+ : ( AUTHOR => 'Rocco Caputo <troc+poe@netrus.net>',
+ ABSTRACT => 'Event driven threads and I/O abstractions.',
+ )
+ ),
+
VERSION_FROM => 'POE.pm',
dist => { 'COMPRESS' => 'gzip -9f',
'SUFFIX' => 'gz',
@@ -39,4 +45,4 @@ WriteMakefile
PMLIBDIRS => [ 'POE' ],
);
-exit 0;
+exit 0 unless $^O eq 'MacOS';

0 comments on commit c40b38c

Please sign in to comment.