diff -ruN Perl.orig/Makefile.PL Perl/Makefile.PL --- Perl.orig/Makefile.PL Sun Jan 5 16:45:30 2003 +++ Perl/Makefile.PL Wed Feb 5 11:56:31 2003 @@ -3,17 +3,20 @@ # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -$prefix = "/usr/local"; +$prefix = "@FINKPREFIX@"; $exec_prefix = "${prefix}"; -$libdir = "../../libpisock/.libs"; +$libdir = "${prefix}/lib"; -$lib = "-L$libdir -lpisock"; +$libs = "-L$libdir -lpisock"; +$inc = "-I$prefix/include"; + +@libs = ("$libs"); WriteMakefile( 'NAME' => 'PDA::Pilot', 'VERSION' => '0.11.7', - 'LIBS' => $lib, + 'LIBS' => \@libs, 'XSPROTOARG' => '-noprototypes', - 'INC' => '-I../../include', + 'INC' => $inc, 'DEFINE' => '-DPERL_POLLUTE', );