From d6b65c9a949cbe0a1c2f290a78cffcba3c977d57 Mon Sep 17 00:00:00 2001 From: mertz Date: Mon, 24 May 2004 21:11:50 +0000 Subject: - /usr/X11R6/include has been added to the INC (except for windows) - an abstract has been added - ptk 804 is now a prerequisit for windows --- Perl/Makefile.PL | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Perl') diff --git a/Perl/Makefile.PL b/Perl/Makefile.PL index de5430a..2539b7a 100644 --- a/Perl/Makefile.PL +++ b/Perl/Makefile.PL @@ -50,16 +50,23 @@ if ($WIN) { } my $ZincObj = "Zinc" . $Config{"_o"}; +my $INC = "-I. -I$TkLibDir -I$TkLibDir/pTk -I$TkLibDir/X11"; + +unless ($WIN) { + $INC .= " -I/usr/X11R6/include"; +} + # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( + 'ABSTRACT' => 'a canvas offering groups, tranformations, transparency, color gradient...', 'AUTHOR' => 'Patrick Lecoanet ', 'NAME' => 'Tk::Zinc', 'VERSION' => $VERSION, - 'PREREQ_PM' => {Tk => 8.0}, + 'PREREQ_PM' => $WIN ? {Tk => 8.004} : {Tk => 8.0}, 'LIBS' => $NeededLibs, 'DEFINE' => &get_flags, - 'INC' => "-I. -I$TkLibDir -I$TkLibDir/pTk -I$TkLibDir/X11", + 'INC' => $INC, 'C' => [@C], 'XS_VERSION' => $Tk::Config::VERSION, 'XS' => {'Zinc.xs' => 'Zinc.c'}, -- cgit v1.1