summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-08 13:50:56 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-08 13:50:56 +0000
commit1740eb2ad69f41aab26b77e8309ba9dfa668ae43 (patch)
treefb49767c0125b466bd2825e66d80ecd10b9642f8 /morphlib/buildsystem.py
parente13753d4f3e26f3a4c705fb3e694ae8dea860c2d (diff)
downloadmorph-1740eb2ad69f41aab26b77e8309ba9dfa668ae43.tar.gz
Set sysconfdir to /etc when morph builds an autotools project
Some autotools projects default their sysconfdir to $prefix/etc. This leads to some projects trying to install files to /usr/etc, which is not desired.
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 6287063a..98aa2219 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -103,7 +103,7 @@ class AutotoolsBuildSystem(BuildSystem):
'if [ -e autogen ]; then ./autogen; ' +
'elif [ -e autogen.sh ]; then ./autogen.sh; ' +
'elif [ ! -e ./configure ]; then autoreconf -ivf; fi',
- './configure --prefix="$PREFIX"',
+ './configure --prefix="$PREFIX" --sysconfdir=/etc',
]
self.build_commands = [
'make',