diff options
| author | Christian Rößler | 2013-08-08 14:23:35 +0200 |
|---|---|---|
| committer | Christian Rößler | 2013-08-08 14:23:35 +0200 |
| commit | a0cd38c2f421df1f4084a082e793a2cd86cccf8d (patch) | |
| tree | 481beeb29c97bff0c96f45749922711e6b0e80ed /remote/modules/systemd/systemd.build | |
| parent | [beamer] Added conf for Scientific Linux (diff) | |
| download | tm-scripts-a0cd38c2f421df1f4084a082e793a2cd86cccf8d.tar.gz tm-scripts-a0cd38c2f421df1f4084a082e793a2cd86cccf8d.tar.xz tm-scripts-a0cd38c2f421df1f4084a082e793a2cd86cccf8d.zip | |
[systemd] .build Scientific Linux: m4 compiling
Diffstat (limited to 'remote/modules/systemd/systemd.build')
| -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 |
