--- IO-AIO/Makefile.PL 2005/07/31 18:14:48 1.3 +++ IO-AIO/Makefile.PL 2006/02/01 23:43:17 1.8 @@ -4,7 +4,23 @@ require "autoconf.pm"; -autoconf::run_script(); +if ($^O =~ /freebsd/i) { + print <new({ dist => { @@ -15,6 +31,7 @@ NAME => "IO::AIO", VERSION_FROM => "AIO.pm", LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, }); $mm->flush;