From 52306cd98c6f3cacfe0377ac1c440e2c550ba47b Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 18 Oct 2006 14:41:50 +0000 Subject: Changed the VERSION macro to PACKAGE_VERSION --- Perl/Makefile.PL | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Perl') 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 ', '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) { # -- cgit v1.1