summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-25 11:40:00 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-25 11:40:00 +0000
commite88ab23d02d3eda099f903499bb8dbda633d4d7a (patch)
tree7bb17d1c9f26a4c188739298ea729e999698a8e4
parent13911b30b66fafa686c521279c75d568678040b8 (diff)
downloadmorph-e88ab23d02d3eda099f903499bb8dbda633d4d7a.tar.gz
CPANBuildSystem: install into perl dirs instead
This is needed because otherwise it will install the .pod file into where the building perl expects it to be, which we should not assume is the same as what we are building for.
-rw-r--r--morphlib/buildsystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index b6c7661a..f6bcb15b 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -158,7 +158,7 @@ class CPANBuildSystem(BuildSystem):
def __init__(self):
self.configure_commands = [
- 'perl Makefile.PL INSTALLDIRS=site INSTALLSITEARCH="$PREFIX/lib/perl" INSTALLSITELIB="$PREFIX/lib/perl" INSTALLSITEBIN="$PREFIX/bin" INSTALLSITESCRIPT="$PREFIX/bin" INSTALLSITEMAN1DIR="$PREFIX/share/man/man1" INSTALLMAN3DIR="$PREFIX/share/man/man3"',
+ 'perl Makefile.PL INSTALLDIRS=perl INSTALLARCHLIB="$PREFIX/lib/perl" INSTALLPRIVLIB="$PREFIX/lib/perl" INSTALLBIN="$PREFIX/bin" INSTALLSCRIPT="$PREFIX/bin" INSTALLMAN1DIR="$PREFIX/share/man/man1" INSTALLMAN3DIR="$PREFIX/share/man/man3"',
]
self.build_commands = [
'make',