--- sdl.SlackBuild 2006-07-20 20:23:01.000000000 -0400 +++ sdl.SlackBuild.s390x 2006-09-16 22:44:11.000000000 -0400 @@ -15,7 +15,7 @@ SLKCFLAGS="-O2 -march=i386 -mcpu=i686" elif [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then +elif [ "$ARCH" = "s390x" ]; then SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" @@ -37,9 +37,11 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --enable-shared=yes \ --enable-static=no \ - --disable-x11-shared + --disable-x11-shared \ + --disable-video-svga make -j3 # Spam /, for mixer/image later on: make install @@ -64,6 +66,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --enable-shared=yes \ --enable-static=no \ --enable-jpg-shared=no \ @@ -88,6 +91,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --enable-shared=yes \ --enable-static=no make -j3 @@ -108,6 +112,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --enable-shared=yes \ --enable-static=no make -j3 @@ -128,6 +133,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --enable-shared=yes \ --enable-static=no make -j3