summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd/systemd.build
diff options
context:
space:
mode:
authorChristian Rößler2013-08-05 18:20:28 +0200
committerChristian Rößler2013-08-05 18:20:28 +0200
commit1251d0b2227cb196e12fca2dfa81e6e5de895111 (patch)
treebc431431e1b0eacb9e4e9d8a47167c4cf7077a0a /remote/modules/systemd/systemd.build
parent[openslx-update] Added update for scripts openslx-install, (diff)
downloadtm-scripts-1251d0b2227cb196e12fca2dfa81e6e5de895111.tar.gz
tm-scripts-1251d0b2227cb196e12fca2dfa81e6e5de895111.tar.xz
tm-scripts-1251d0b2227cb196e12fca2dfa81e6e5de895111.zip
[systemd.build] Added switch for Scientific Linux: Patching configure.
This is solely experimental and will vanish again - hopefully.
Diffstat (limited to 'remote/modules/systemd/systemd.build')
-rw-r--r--remote/modules/systemd/systemd.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index 8052ca4e..e481f74e 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -20,6 +20,16 @@ build () {
#build systemd
pinfo "Building systemd"
cd "${MODULE_DIR}/src/$REQUIRED_VERSION"
+
+ # patching configure for Scientific Linux - cave - ugly hack!
+ if [ "$SYS_DISTRIBUTION" == "scientific" ]; then
+ pinfo "Scientific Linux detected; patching systemd/configure..."
+ sed 's/dbus-1 >= 1.3.2/dbus-1 >= 1.2.24/g' configure > configure.patched
+ mv configure configure.orig
+ mv configure.patched configure
+ chmod +x configure
+ fi
+
pinfo "calling configure"
./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no --disable-nls --disable-microhttpd --disable-bootchart --disable-quotacheck --disable-hostnamed --disable-timedated --disable-localed --disable-coredump --disable-keymap --without-python --enable-blkid --enable-acl --enable-pam|| perror "configure failed."
pinfo "calling make"