diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-24 18:52:02 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-24 18:52:02 +0100 |
commit | 13911b30b66fafa686c521279c75d568678040b8 (patch) | |
tree | 638e6b23a4e2ff7c770acfd36e43508abfdcf1d4 | |
parent | 01f0beb534de646728d865d8f3a86dd448add873 (diff) | |
download | morph-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
-rw-r--r-- | morphlib/buildsystem.py | 2 |
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', |