aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Perl/Makefile.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/Perl/Makefile.PL b/Perl/Makefile.PL
index c3f74e6..286548a 100644
--- a/Perl/Makefile.PL
+++ b/Perl/Makefile.PL
@@ -79,7 +79,6 @@ WriteMakefile(
'ABSTRACT' => 'a canvas offering groups, tranformations, transparency, color gradient...',
'AUTHOR' => 'Patrick Lecoanet <lecoanet@cena.fr>',
'NAME' => 'Tk::Zinc',
- 'VERSION' => $VERSION,
'PREREQ_PM' => $WIN ? {Tk => 8.004} : {Tk => 8.0},
'LIBS' => $NeededLibs,
'DEFINE' => &get_flags,
@@ -120,7 +119,7 @@ sub get_flags {
}
}
- my $defines = '-DPTK';
+ my $defines = "-DPTK -DPACKAGE_VERSION=\\\"$VERSION\\\"";
if ($WIN) {
#