--- Linux-AIO/Makefile.PL 2001/08/14 03:18:53 1.1 +++ Linux-AIO/Makefile.PL 2005/07/08 03:10:00 1.8 @@ -1,6 +1,28 @@ use ExtUtils::MakeMaker; -WriteMakefile( +use Config; + +print <= 2.4 or print <new({ dist => { PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', COMPRESS => 'gzip -9v', @@ -8,16 +30,28 @@ }, NAME => "Linux::AIO", VERSION_FROM => "AIO.pm", -); +}); sub MY::postamble { <{CCDLFLAGS}, $mm->{CCCDLFLAGS}, @{$mm->{RESULT}}) { + s/\B-f(pic|PIC)\b//g + } +} + +$mm->flush;