From 1251d0b2227cb196e12fca2dfa81e6e5de895111 Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Mon, 5 Aug 2013 18:20:28 +0200 Subject: [systemd.build] Added switch for Scientific Linux: Patching configure. This is solely experimental and will vanish again - hopefully. --- remote/modules/systemd/systemd.build | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'remote/modules/systemd') 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" -- cgit v1.2.3-55-g7522