aboutsummaryrefslogtreecommitdiff
path: root/Perl
diff options
context:
space:
mode:
authormertz2004-05-24 21:11:50 +0000
committermertz2004-05-24 21:11:50 +0000
commitd6b65c9a949cbe0a1c2f290a78cffcba3c977d57 (patch)
treedb93c294322b6ebb68ccf277986e7432bbf92467 /Perl
parent12d0c850ac24caca179a5f74a92257e9d1fe516d (diff)
downloadtkzinc-d6b65c9a949cbe0a1c2f290a78cffcba3c977d57.zip
tkzinc-d6b65c9a949cbe0a1c2f290a78cffcba3c977d57.tar.gz
tkzinc-d6b65c9a949cbe0a1c2f290a78cffcba3c977d57.tar.bz2
tkzinc-d6b65c9a949cbe0a1c2f290a78cffcba3c977d57.tar.xz
- /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
Diffstat (limited to 'Perl')
-rw-r--r--Perl/Makefile.PL11
1 files changed, 9 insertions, 2 deletions
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 <lecoanet@cena.fr>',
'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'},