At 03:43 AM 1/2/2002 +0200, Jarkko Hietaniemi wrote: > I went for even more extensive > rewrite of the logic, we'll see how it works. Not at all for me. There were no ppport.h or ppport_h files supplied with the distribution and no actions specified to build them. The following even more extensive rewrite works fine for me but has only been tested on VMS. --- ext/Devel/PPPort/Makefile.PL;-0 Tue Jan 1 19:36:16 2002 +++ ext/Devel/PPPort/Makefile.PL Wed Jan 2 17:07:18 2002 @@ -5,21 +5,22 @@ NAME => "Devel::PPPort", DISTNAME => "Devel-PPPort", VERSION_FROM=> 'PPPort.pm', - - #PM => {'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm'}, - OBJECT => 'PPPort$(OBJ_EXT) module2$(OBJ_EXT) module3$(OBJ_EXT)', + C => [qw(module2.c module3.c)], + H => [qw(ppport.h)], + OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)', XSPROTOARG => '-noprototypes', 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, - 'clean' => { FILES => [qw(ppport.h ppport_h)]}, + 'clean' => { FILES => [qw($(H_FILES))]} ); sub MY::postamble { return <<"EOM"; -ppport.h: ppport_h - \$(TOUCH) ppport_h +ppport.h : ppport_h.PL + \$(PERL) \"-I\$(PERL_ARCHLIB)\" \"-I\$(PERL_LIB)\" ppport_h.PL -PPPort.xs module2\$(OBJ_EXT) module3\$(OBJ_EXT): ppport.h +\$(XS_FILES) : \$(O_FILES) + \$(NOOP) EOM } [end of patch]Thread Previous | Thread Next