From a0cd38c2f421df1f4084a082e793a2cd86cccf8d Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Thu, 8 Aug 2013 14:23:35 +0200 Subject: [systemd] .build Scientific Linux: m4 compiling --- remote/modules/systemd/systemd.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'remote/modules') diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build index 358c59a6..8153fc97 100644 --- a/remote/modules/systemd/systemd.build +++ b/remote/modules/systemd/systemd.build @@ -28,7 +28,11 @@ build () { # Scientific Linux specials if [ "$SYS_DISTRIBUTION" == "scientific" ]; then - pinfo "Scientific Linux detected ..." + pinfo "Scientific Linux detected ..." # Freude, schöner Götterfunke! + + # Some path mainpulations for followong utilities + OLDPATH=$PATH + PATH="${MODULE_BUILD_DIR}/usr/local/bin/:$PATH" # autoconf needs new m4 # Utillinux stuff pinfo "Building util-linux" @@ -71,7 +75,7 @@ build () { make || perror "automake make failed." DESTDIR="${MODULE_BUILD_DIR}" make install || perror "automake make install failed." cd - &> /dev/null -exit + # patching configure for Scientific Linux - cave - ugly hack! pinfo "Scientific Linux detected; patching systemd/configure..." cd "${MODULE_DIR}/src/$REQUIRED_VERSION" @@ -86,6 +90,7 @@ exit LDFLAGS="$LDFLAGS -L${MODULE_BUILD_DIR}/usr/lib/ -ldl" # LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${MODULE_BUILD_DIR}/usr/lib/" cd - &> /dev/null + PATH=$OLDPATH # re-set PATH fi #build systemd -- cgit v1.2.3-55-g7522