--- IO-AIO/Makefile.PL 2005/08/30 15:45:10 1.7 +++ IO-AIO/Makefile.PL 2007/07/08 13:43:29 1.14 @@ -4,25 +4,59 @@ require "autoconf.pm"; -if ($^O =~ /freebsd/i) { - print <new({ dist => { @@ -32,7 +66,11 @@ }, NAME => "IO::AIO", VERSION_FROM => "AIO.pm", - LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + INC => $INC, + LIBS => $LIBS, + PM => { + 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', + }, clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, });