summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-24 18:52:02 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-24 18:52:02 +0100
commit13911b30b66fafa686c521279c75d568678040b8 (patch)
tree638e6b23a4e2ff7c770acfd36e43508abfdcf1d4 /morphlib/buildsystem.py
parent01f0beb534de646728d865d8f3a86dd448add873 (diff)
downloadmorph-13911b30b66fafa686c521279c75d568678040b8.tar.gz
CPANBuildSystem: install to standard paths
This needs to be set otherwise the paths of the perl building it will be used. This needs to be kept in sync with the perl that is being built as well otherwise it won't be able to find modules
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r--morphlib/buildsystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 799f35cc..b6c7661a 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 INSTALL_BASE="$PREFIX"',
+ '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"',
]
self.build_commands = [
'make',