diff options
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/modules/systemd/systemd.build | 9 |
1 files changed, 7 insertions, 2 deletions
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 |
