--- IO-AIO/Makefile.PL 2006/02/01 23:43:17 1.8 +++ IO-AIO/Makefile.PL 2007/07/08 13:43:29 1.14 @@ -4,8 +4,23 @@ require "autoconf.pm"; -if ($^O =~ /freebsd/i) { - print <new({ dist => { @@ -30,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" }, });