From 6dba2e90a7f913d8c2fc89e253bc37e69c14e88a Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 24 Apr 2008 23:44:53 +0000 Subject: ExtUtils::MakeMaker uses prefix more intelligently than I thought. --- perl/Makefile.PL.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl') diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index 5c47220..1ba6004 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -8,8 +8,6 @@ $version =~ s/\.(\d)$/.0$1/; # Set a prefix for ExtUtils::MakeMaker if we were given one for configure. my $prefix = "@prefix@"; -my $datarootdir = "@datarootdir@"; -my $datadir = "@datadir@"; WriteMakefile( NAME => 'Wallet', @@ -17,5 +15,5 @@ WriteMakefile( ABSTRACT => 'Wallet: a secure credential management system', AUTHOR => 'Russ Allbery (rra@stanford.edu)', (($prefix ne '/usr' && $prefix ne '/usr/local') ? - (PREFIX => $datadir) : ()) + (PREFIX => $prefix) : ()) ); -- cgit v1.2.3