r4518 - in /packages/libwordnet-querydata-perl/trunk: Makefile.PL
QueryData.pm
kjetil-guest at users.alioth.debian.org
kjetil-guest at users.alioth.debian.org
Mon Dec 4 14:50:42 CET 2006
Author: kjetil-guest
Date: Mon Dec 4 14:50:42 2006
New Revision: 4518
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4518
Log:
Set debian-specific path
Modified:
packages/libwordnet-querydata-perl/trunk/Makefile.PL
packages/libwordnet-querydata-perl/trunk/QueryData.pm
Modified: packages/libwordnet-querydata-perl/trunk/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libwordnet-querydata-perl/trunk/Makefile.PL?rev=4518&op=diff
==============================================================================
--- packages/libwordnet-querydata-perl/trunk/Makefile.PL (original)
+++ packages/libwordnet-querydata-perl/trunk/Makefile.PL Mon Dec 4 14:50:42 2006
@@ -5,8 +5,6 @@
# $wnHomePC). These need to be synchronized. I need to import those
# variables from QueryData.pm.
-die "*** Please set the WNHOME environment variable to the location of your\n*** WordNet installation. QueryData.pm will not work otherwise.\n*** Alternatively, you can make the installation in the default\n*** location, C:\\Program Files\\WordNet\\2.0 on Windows, or /usr/local/WordNet-2.0 on unix.\n" unless exists $ENV{WNHOME} or -d "C:\\Program Files\\WordNet\\2.0" or -d "/usr/local/WordNet-2.0";
-
WriteMakefile(
'dist' => { 'COMPRESS' => 'gzip', 'SUFFIX' => '.gz', },
'NAME' => 'WordNet::QueryData',
Modified: packages/libwordnet-querydata-perl/trunk/QueryData.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libwordnet-querydata-perl/trunk/QueryData.pm?rev=4518&op=diff
==============================================================================
--- packages/libwordnet-querydata-perl/trunk/QueryData.pm (original)
+++ packages/libwordnet-querydata-perl/trunk/QueryData.pm Mon Dec 4 14:50:42 2006
@@ -203,7 +203,7 @@
my @indexFile = ("", "index.noun", "index.verb", "index.adj", "index.adv");
my @dataFile = ("", "data.noun", "data.verb", "data.adj", "data.adv");
-my $wnHomeUnix = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "/usr/local/WordNet-2.1";
+my $wnHomeUnix = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "/usr/share/wordnet";
my $wnHomePC = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "C:\\Program Files\\WordNet\\2.1";
my $wnPrefixUnix = defined($ENV{"WNSEARCHDIR"}) ? $ENV{"WNSEARCHDIR"} : "$wnHomeUnix/dict";
my $wnPrefixPC = defined($ENV{"WNSEARCHDIR"}) ? $ENV{"WNSEARCHDIR"} : "$wnHomePC\\dict";
More information about the Pkg-perl-cvs-commits
mailing list