perl-module: Use ABSTRACT instead of ABSTRACT_FROM in Makefile.PL.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Oct 2010 03:20:26 +0000 (20:20 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 9 Oct 2010 03:20:26 +0000 (20:20 -0700)
This fixes the following warning from Perl:

  WARNING: Setting ABSTRACT via file 'lib/PSPP.pm' failed
   at /usr/share/perl/5.10/ExtUtils/MakeMaker.pm line 583

perl-module/Makefile.PL

index a3b7b465adf80edf6708b40e95a4900e2784059f..a315abbee2241363bd5c270e5af54297445e7d64 100644 (file)
@@ -19,7 +19,7 @@ WriteMakefile(
     PREREQ_PM         => {POSIX=>0}, 
     PM                => {"lib/PSPP.pm", "\$(INST_LIBDIR)/PSPP.pm"},
     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
-      (ABSTRACT_FROM  => 'lib/PSPP.pm', # retrieve abstract from module
+      (ABSTRACT       => 'Perl extension to PSPP',
        AUTHOR         => 'John Darrington <john@darrington.wattle.id.au>') : ()),
     INC       => "-I $Locations{SourceDir}  -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}", 
     MYEXTLIB  => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(SO)",